- gangarapu sarala
- Posts : 3
Join date : 2013-04-12
can any one help on the below issue in selecting of two different type of buttons
Fri Apr 12, 2013 2:19 pm
when im doing test on apsrtc login site, i have two buttons which have different html source code
In the second case when i click on "eTicketLoginBtn",its directly going to "gotoPage('/oprs-web/login/
show.do'), but in the first case when i click on "searchBtn",its not redirecting to correct page but its giving result as
Command request: click[searchBtn, ] on session 44a4171c19584aeeab1f9641d2117333
17:50:06.862 INFO - Got result: OK on session 44a4171c19584aeeab1f9641d2117333
In the second case when i click on "eTicketLoginBtn",its directly going to "gotoPage('/oprs-web/login/
show.do'), but in the first case when i click on "searchBtn",its not redirecting to correct page but its giving result as
Command request: click[searchBtn, ] on session 44a4171c19584aeeab1f9641d2117333
17:50:06.862 INFO - Got result: OK on session 44a4171c19584aeeab1f9641d2117333
- adityacProfessional
- Posts : 101
Join date : 2013-01-17
Re: can any one help on the below issue in selecting of two different type of buttons
Fri Apr 12, 2013 5:20 pm
adjust the speed or set speed.. so that execution time can identify element
- sunny mehndirattaRegular Participant
- Posts : 25
Join date : 2013-03-22
Re: can any one help on the below issue in selecting of two different type of buttons
Fri Apr 12, 2013 6:02 pm
hello adityac ..
how can i adjust speed or set speed of rc
how can i adjust speed or set speed of rc
- adityacProfessional
- Posts : 101
Join date : 2013-01-17
Re: can any one help on the below issue in selecting of two different type of buttons
Mon Apr 15, 2013 7:32 pm
Use selenium.setSpeed(value) cmd to set speed
- gangarapu sarala
- Posts : 3
Join date : 2013-04-12
Re: can any one help on the below issue in selecting of two different type of buttons
Tue Apr 16, 2013 12:59 pm
i tried with setspeed, but also its not working
1.its working for the button "etktLoginBtn" which is in comments line, then why its not working for the other button "searchBtn"?
2.its giving the result as ok, but action is not performing for "etktLoginBtn"
1.its working for the button "etktLoginBtn" which is in comments line, then why its not working for the other button "searchBtn"?
2.its giving the result as ok, but action is not performing for "etktLoginBtn"
- gangarapu sarala
- Posts : 3
Join date : 2013-04-12
Re: can any one help on the below issue in selecting of two different type of buttons
Tue Apr 16, 2013 1:18 pm
program:
ds.type("fromPlaceName", "AMEERPET");
ds.type("toPlaceName", "ANANTAPUR");
ds.select("adultMale", "3");
ds.select("childMale", "2");
ds.click("txtJourneyDate");
Thread.sleep(5000);
ds.click("link=15");
Thread.sleep(5000);
ds.select("serviceCategoryId","DELUXE");
Thread.sleep(5000);
ds.select("concessionId","CAT CARD");
Thread.sleep(5000);
ds.click("searchBtn");
ds.setSpeed("10000");
http://ds.click("etktLoginBtn");
ds.type("fromPlaceName", "AMEERPET");
ds.type("toPlaceName", "ANANTAPUR");
ds.select("adultMale", "3");
ds.select("childMale", "2");
ds.click("txtJourneyDate");
Thread.sleep(5000);
ds.click("link=15");
Thread.sleep(5000);
ds.select("serviceCategoryId","DELUXE");
Thread.sleep(5000);
ds.select("concessionId","CAT CARD");
Thread.sleep(5000);
ds.click("searchBtn");
ds.setSpeed("10000");
http://ds.click("etktLoginBtn");
- Sponsored content
Permissions in this forum:
You cannot reply to topics in this forum
|
|