Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
mahesh koil
Posts : 2
Join date : 2012-03-20

Calender is not running in Scripts Empty Calender is not running in Scripts

Wed Mar 21, 2012 1:27 pm
Hi,Guys

I am working on Calender.When i click on pick date that Calender opens.My test case is working when i run it step by step but not working when i run the whole test case because Calendar is not Selecting Date and not closing Calendar Pop-up there.

For Example :
Step1: selenium.click("id=img-property(dispositionDate)");
Step2: selenium.click("//body[@id='ext-gen6']/div[10]/table/tbody/tr[4]/td[3]");

Discription:-
Step1: If i Click on Calender icon then displaying Calender Pop-up
Step2: then i Click on date icon in Calender Pop-up

Expected Value :1)Date should be select in Calender Pop-up.2)close in Calendar Pop-up
Actual Value : 1)Date is not selecting in Calender Pop-up.2)not closing Calendar Pop-up


Please Help me. Its Urgent.

mahesh koil



avatar
jyothimahadeva
Posts : 4
Join date : 2012-05-11

Calender is not running in Scripts Empty Re: Calender is not running in Scripts

Fri May 11, 2012 10:23 am
Hi Mahesh,

iam facing same problem with javascript popup calender. If you got any solution, plz help solving that.

thanks,

jo.
rohit13
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 38
Location : INDIA
http://radical-qa.blogspot.in/

Calender is not running in Scripts Empty Re: Calender is not running in Scripts

Fri May 11, 2012 12:21 pm
For your reference i have generated code with sample java-script calender
Code:
click  | xpath=(//img[@name='imgCalendar']) |
click  | link=14

let me know its works for you or not..or share sample URL for calender which your are using..
avatar
jyothimahadeva
Posts : 4
Join date : 2012-05-11

Calender is not running in Scripts Empty Problem with Automating javascript popup calender

Fri May 11, 2012 1:05 pm
Hi Rohit,



Thanks for the reply. I tried with the path specified, it is not identifying the element. I am using Selenium with Java.

i am using "www yatra com". I trying to set the date for Departure date.

1. First i am clicking the field with "//input[@id='datePickerDepart_dom1']" xpath. The javapop up is not showing up on clicking this field.


2. Then, i want to set the date using the path. since popup not showing up i think i am Getting error like Element not found.



can you please suggest on this. strucked up with this for a long time..



Thanks,

Jo.
rohit13
rohit13
Master
Master
Posts : 180
Join date : 2012-03-29
Age : 38
Location : INDIA
http://radical-qa.blogspot.in/

Calender is not running in Scripts Empty Re: Calender is not running in Scripts

Fri May 11, 2012 1:18 pm
Code:
selenium.click("id=datePickerDepart_dom1");
selenium.click("link=12");
selenium.click("id=btnFindFlights");

This is working code for yatra.com for select Departure date.

This is URL on which i have tried..http://www.yatra.com/flights-india-vx/
avatar
jyothimahadeva
Posts : 4
Join date : 2012-05-11

Calender is not running in Scripts Empty Re: Calender is not running in Scripts

Fri May 11, 2012 2:18 pm
hi rohit,

i getting element link 12 not found error.but still not able clicking from popup.

but i did this using type().its working.

Thanks,
Sponsored content

Calender is not running in Scripts Empty Re: Calender is not running in Scripts

Back to top
Permissions in this forum:
You cannot reply to topics in this forum