Hi Support,
We have date field in our application in which date can only be selected from calendar icon along it. Record and Play is working fine for calendar. But data driven not working when try to enter date through calendar as it's mentioned in Excel file(if use excel as Db.).
Please provide me with complete guide and help-full details that how calendar can be used to select date as per dates mentioned in excel file.
Also let me know how can we do condition base automation testing through Ranorex, like if field a = "1" then run "call 1" part of data driven testing, if field a = "2" then run "call 2" part of data driven testing & so on.
Many Thanks,
Varun Sharma.
Can't select date using Calendar in Data Driven Testing.
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Can't select date using Calendar in Data Driven Testing.
Hi,
Here a link to the UserGuide:
http://www.ranorex.com/support/user-guide-20.html
How to make a snapshot:
http://www.ranorex.com/support/user-gui ... files.html
Kind Regards,
Larissa
Ranorex Support Team
Here a link to the UserGuide:
http://www.ranorex.com/support/user-guide-20.html
Yes, you can do this quite easy. Just wrap your calls into if-statements, e.g.Also let me know how can we do condition base automation testing through Ranorex, like if field a = "1" then run "call 1" part of data driven testing, if field a = "2" then run "call 2" part of data driven testing & so on.
if(a=1){ MyTestSuit.Recording1.Start(); } elseif(a=2){ MyTestSuit.Recording2.Start(); } //and so onYou should be able to set the date of your calender via SetAttributeValue. For more detailed information please send a snapshot of the calendar element.
How to make a snapshot:
http://www.ranorex.com/support/user-gui ... files.html
Kind Regards,
Larissa
Ranorex Support Team
Re: Can't select date using Calendar in Data Driven Testing.
Hi Larissa,
Thanks for your kind guidance!
I am already going through Ranorex user-guide, but afraid that my problem has no solution in this guide book.
As required, PFA the snapshot for Calendar element. Also let me now the detailed way to use this calendar to enter dates from excel file for data driven testing.
Also many thanks for your support on Condition base automation through Ranorex, currently working on this and will let you know in case any hurdle.
WR,
Varun.
Thanks for your kind guidance!
I am already going through Ranorex user-guide, but afraid that my problem has no solution in this guide book.
As required, PFA the snapshot for Calendar element. Also let me now the detailed way to use this calendar to enter dates from excel file for data driven testing.
Also many thanks for your support on Condition base automation through Ranorex, currently working on this and will let you know in case any hurdle.
WR,
Varun.
- Attachments
-
- Calendar.rxsnp
- Calendar_Element
- (187.97 KiB) Downloaded 269 times
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Can't select date using Calendar in Data Driven Testing.
Hi Varun,
Thanks for the snapshot, I already take a look at it.
My question to you is now if you really want to perform clicks on your calendar using the data in your excel file?
This might be quite tricky if you for example want to select a month which is not the actual one.
I'm quite sure that the date can also be set manually (e.g. with setAttributeValue and the data from your excel data connector). Depending on what you want to test, this would be a good alternative solution.
To provide you more guidance about setting the value I'll need a little bit more information. Maybe you can send me a snapshot not just from the Calendar element but from the Body, where the Text-boxes of the "Start Date" and "End Date" are contained. Optimally you would give us access to your application.
Kind regards,
Larissa
Ranorex Support Team
Thanks for the snapshot, I already take a look at it.
My question to you is now if you really want to perform clicks on your calendar using the data in your excel file?
This might be quite tricky if you for example want to select a month which is not the actual one.
I'm quite sure that the date can also be set manually (e.g. with setAttributeValue and the data from your excel data connector). Depending on what you want to test, this would be a good alternative solution.
To provide you more guidance about setting the value I'll need a little bit more information. Maybe you can send me a snapshot not just from the Calendar element but from the Body, where the Text-boxes of the "Start Date" and "End Date" are contained. Optimally you would give us access to your application.
Kind regards,
Larissa
Ranorex Support Team
Re: Can't select date using Calendar in Data Driven Testing.
Hi Larissa,
You are right that Date can be set manually but my concern was to include Calendar element in automation process. By the way many thanks for your guidance.
Will catch you if face any problem in executing condition base automation process.
WR,
Varun.
You are right that Date can be set manually but my concern was to include Calendar element in automation process. By the way many thanks for your guidance.

Will catch you if face any problem in executing condition base automation process.
WR,
Varun.
-
- Posts: 1
- Joined: Tue Jan 22, 2013 4:48 pm
Re: Can't select date using Calendar in Data Driven Testing.
Hi,
I have the same problem.
How did you solve it?
Best regards
Luigi
I have the same problem.
How did you solve it?
Best regards
Luigi
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Can't select date using Calendar in Data Driven Testing.
Hello Luigi,
Can you please send us a Ranorex Snapshot file from your application and explain what exactly you are trying to do.
Thank you!
Regards,
Bernhard
Can you please send us a Ranorex Snapshot file from your application and explain what exactly you are trying to do.
Thank you!
Regards,
Bernhard
-
- Posts: 6
- Joined: Fri Sep 12, 2014 4:26 pm
Re: Can't select date using Calendar in Data Driven Testing.
i am too facing this problem. i have to pick up the date from excel file and then accordingly click on the same date from the calender. Please help.
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Can't select date using Calendar in Data Driven Testing.
Hello mayank9292,
Unfortunately, we cannot analyze your issue without additional information. May I ask you to explain the issue in more detail?
Thanks,
Robert
Unfortunately, we cannot analyze your issue without additional information. May I ask you to explain the issue in more detail?
- • How do you “pick up” the date from Excel (DataConnector, Name of Excel Sheet, etc.)
Thanks,
Robert