Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by gangarapu sarala 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

gangarapu sarala

Posts : 3
Join date : 2013-04-12

Back to top Go down

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

Post by adityac on Fri Apr 12, 2013 5:20 pm

adjust the speed or set speed.. so that execution time can identify element

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by sunny mehndiratta on Fri Apr 12, 2013 6:02 pm

hello adityac ..

how can i adjust speed or set speed of rc

sunny mehndiratta
Regular Participant
Regular Participant

Posts : 25
Join date : 2013-03-22

Back to top Go down

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

Post by adityac on Mon Apr 15, 2013 7:32 pm

Use selenium.setSpeed(value) cmd to set speed

adityac
Professional
Professional

Posts : 101
Join date : 2013-01-17

Back to top Go down

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

Post by gangarapu sarala 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"

gangarapu sarala

Posts : 3
Join date : 2013-04-12

Back to top Go down

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

Post by gangarapu sarala 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");

gangarapu sarala

Posts : 3
Join date : 2013-04-12

Back to top Go down

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

Post by Sponsored content Today at 5:02 am


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