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 is meant by Step generator?what is the use of this? we have 3 steps know there what r all those.? can u all pls give me clear idea of this
Plz Explain AUTOMATION REFERENCE MODEL?
X flies from Hyd to bangalore using different methods of transportation. write the test scenarios and test cases for this?
What are the technics follow in writing VB script?
What are the major/ important methods, functions in QTP we use realtime testing
1.explain end to end process of qc,2.how many tabs are in qc9.0,qc10.0 3.what is review, how many reviews are following in aproject 4.how will you get the requirements 5.why do we choose testing 6.how to export tc's and requirements to qc through add-ins
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
Whats the realtime QTP testing process
How did you use regular expressions in QTP and also in WR?
What are the differences between quicktest professional (qtp) and winrunner?
how to explain a claims and insurance project?
how can we do the frame work in qtp
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
How to explain a banking project in interview as a test engineer???
How to Get the Run-time value of an object under that web app under Test to the local data table sheet of that Action?