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 contains Data Driven Framework document in qtp?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Why qtp always start action1 and does not start action?
How many ways we can parameterize data in quicktest professional?
What is the Difference between copy to action and call to action?
What is the difference between a Function and Procedure in QTP?
What is the extension of the qtp local repository?
What is an object repository?
What phases are involved in testing an application in qtp?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Differences between quicktest professional (qtp) and winrunner?
Explain the concept of how quicktest professional (qtp) identifies object?
Is qtp supports uni-code?
How QA specialist can identify when programmatic descriptions are useful?
Explain in brief about the quicktest professional automation object model?