Share
Go down
anujbatta
Posts : 2
Join date : 2011-04-02

How to focus text box

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
Back to top
Permissions in this forum:
You cannot reply to topics in this forum