can any one tell me what is syntax error in line
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
'code **************
Call login("lal="," " )
wait(5)
Call errormsg("Invalid email address. [?]" )
Function errormsg(msg)
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
if msgexist then
Reporter.ReportEvent micPass,"enter valid username or pwd
",msg
else
Reporter.ReportEvent micFail, "entered valid uname and
pwd",msg
end if
End Function
Answer Posted / ashok kumar
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement("innertext="&msg).exist
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what type of framework u r using in ur organization
If I give some thousand tests to execute in two days what do you do?
Hi ,Can any one pleas explain how to test splash objects using QTP?
Explain the concept of object repository and how qtp recognises objects?
Thanks....But can u tell me how i use the QTP for GIS with one Example...
How to use setroproperty?
What are the different types of action?
How to carry out bit map check points in QTP
What are the various types of Actions in UFT?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
tell me abt a time when u had to go above &beyind the call of duty to get the job done
How will internal and external links be validated and updated? how often?
desribe a situation where u faced a stressful situation and how did u cope with it
How many types of recording modes in qtp?
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris