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
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
How you can replace string in qtp?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Is it possible to split an action? How?
Explain different recording modes?
How to handle the exceptions using the recovery scenario manager in qtp?
Discuss quicktest professional (qtp) environment?
What is the use of text output value in quicktest professional (qtp)?
Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?
Write a script to verify font style and color of a windows object using descriptive programming
For which type of project the iterative model is suitable?
what is error and fault in terms of software quality?
i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.
what you mean by artifact,milestone...
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer