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 processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
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.
banking domain description for software tester for interview
how to explain a claims and insurance project?
Is QTP supports Unix. If yes, then how the test automation is done?
What are the different attributes used with regular expression?
How many types of Automation frameworks are there in UFT? Describe them.
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
what type of automation is follwed in the project?
HI Everybody, I am using QTP 9.2, I have a problem and hope everybody help me solve it. Now I need to use mouse wheel event to zoom in or zoom out in web client, but QTP can't catch this event. I look forward helping of everybody. Thank you very much.
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
wht type of User defined functions or Java Releated functions Do we write in VB scripting
If I change the property value at runtime is it effect is object repository?
How do you convert manual test cases to automated test cases?