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 / pavani prasad
Function errormsg(msg)
if Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist
then
Reporter.ReportEvent micPass,"enter valid username or pwd
",msg
else
Reporter.ReportEvent micFail, "entered valid uname and
pwd",msg
end if
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
what type of framework u r using in ur organization
How to create Reusable and Multiple Actions?
Explain in brief about the qtp automation object model (aom).
explain keyword driven framework with banking domain?
what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com
can the activities of test case design be automated?
How does quicktest professional (qtp) identifies the object in the application?
How do we analyze the checkpoint results?
what is the difference between development and testing
Differences between text and test area checkpoints?
How to use setroproperty?
what r the main attributes of test automation?
Explain the difference between data driven testing and parameterization ?
Define object spy ?
when a test case is written how u test using qtp