Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» 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

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara

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


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