Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Run automated selenium test scripts from JIRA ondemand
Fri Dec 08, 2017 12:40 pm by azharuddin

» New! Appium Desktop
Sat Nov 25, 2017 3:51 pm by azharuddin

» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Calender is not running in Scripts

View previous topic View next topic Go down

Calender is not running in Scripts

Post by mahesh koil on 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




mahesh koil

Posts : 2
Join date : 2012-03-20

Back to top Go down

Re: Calender is not running in Scripts

Post by jyothimahadeva on 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.

jyothimahadeva

Posts : 4
Join date : 2012-05-11

Back to top Go down

Re: Calender is not running in Scripts

Post by rohit13 on 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..

_________________
Radical QA
http://radical-qa.blogspot.in/
avatar
rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Problem with Automating javascript popup calender

Post by jyothimahadeva on 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.

jyothimahadeva

Posts : 4
Join date : 2012-05-11

Back to top Go down

Re: Calender is not running in Scripts

Post by rohit13 on 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/

_________________
Radical QA
http://radical-qa.blogspot.in/
avatar
rohit13
Master
Master

Posts : 180
Join date : 2012-03-29
Age : 31
Location : INDIA

http://radical-qa.blogspot.in/

Back to top Go down

Re: Calender is not running in Scripts

Post by jyothimahadeva on 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,

jyothimahadeva

Posts : 4
Join date : 2012-05-11

Back to top Go down

Re: Calender is not running in Scripts

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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