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 / shaik mohinuddin
innertext:=
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we write winrunner language i.e TSL in QTP tool?
Mention the different actions types of qtp.
how to test Web application using QTP software
Explain how you can find the absolute value of the number in qtp?
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance
Can I change properties of a test object?
What is expert view and keyword view?
To which environments does quicktest professional (qtp) supports?
What is environment variable in qtp and why to use it?
Which recording modes need more memory?
what function you write to do database testing with the help of qtp?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
How many ways we can parameterize data in quicktest professional?
What is throw object?
what are the limitations of smart identification in qtp 9.0