adspace
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 / prakash
msgexist=Browser("title:=Gmail: Email.*").Page(
"title:=Gmail: Email .*").WebElement(innertext=&msg).exist(2)
'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(2)
if msgexist then
Reporter.ReportEvent micPass,"enter valid username or pwd
","msg is displayed"
else
Reporter.ReportEvent micFail, "entered valid uname and
pwd","msg is not displayed"
end if
End Function
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How software tester can use constants and variables in scripts?
write script for bitmap image?
Any body have QTP 9.5 licence key. please provide me at madhukar_dec30@yahoo.co.in
what is actually contain test report? can anybody post the test report
Hi All, How to get repeated word in string . Thanks Balaji
any body can you help me what is the script to automate an comand promt
What is the registration process and examination fees?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
what kind of frame work you used in your last project?
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.
what type of framework u r using in ur organization
How to give a call to another action from one action?
How are actions and functions different in QTP?