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
supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?
Explain advantages and disadvantages kdf?
What are the key points to create a framework in QTP for oracle forms?
What is regular expression?
Explain about the quicktest professional (qtp) automation object model?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
How to open a new test using quicktest professional (qtp)?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
What is a checkpoint? How many check points are there in qtp?
Can I change properties of a test object?
I am a newbie to QTP / Automation testing. I want to develop a script that creates a data file automatically with proper headings using VBScript in QTP.
This is a question thats generally asked in every QTP interview. What were the problems that you faced during automation and how did you resolve them?
How do we analyze the checkpoint results?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel