Search
 
 

Display results as :
 


Rechercher Advanced Search

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

How to focus text box

View previous topic View next topic Go down

How to focus text box

Post by anujbatta on Fri May 27, 2011 12:53 pm

In my application what script should i write


My application is basically Test Taking

Student gives fill in the choice answer and click on submit and continue button

E.g
What is your age?
Text box will be there when student types:30 or any numerical value then only submit and continue button gets enabled

i wrote scripts as given below:
STUDENT
funVerifyText
//*[@id='ctl00_ContentPlaceHolder1_lblExamProgress']
15 of 20
STUDENT
funWaitForElementPresent
//*[@id='ctl00_ContentPlaceHolder1_147933']
NA
STUDENT
type
//*[@id='ctl00_ContentPlaceHolder1_147933']
85
STUDENT
funWaitForElementPresent
ctl00_ContentPlaceHolder1_btnContinue
NA
STUDENT
click
ctl00_ContentPlaceHolder1_btnContinue
NA
STUDENT
funPause


2000

NA
STUDENT
waitForPageToLoad
200000
NA



Also tell how to capture for Window media player there is media player unless and until you click on play button submit and continue will not be enabled

anujbatta

Posts : 2
Join date : 2011-04-02

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