Search
Display results as :
Advanced Search
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Share
Go down
avatar
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

on 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
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: can any one help on the below issue in selecting of two different type of buttons

on Fri Apr 12, 2013 5:20 pm
adjust the speed or set speed.. so that execution time can identify element
avatar
sunny mehndiratta
Regular Participant
Regular 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

on Fri Apr 12, 2013 6:02 pm
hello adityac ..

how can i adjust speed or set speed of rc
avatar
adityac
Professional
Professional
Posts : 101
Join date : 2013-01-17

Re: can any one help on the below issue in selecting of two different type of buttons

on Mon Apr 15, 2013 7:32 pm
Use selenium.setSpeed(value) cmd to set speed
avatar
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

on 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"
avatar
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

on 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");
Sponsored content

Re: can any one help on the below issue in selecting of two different type of buttons

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