How to Synchronize the Browser at Field level? For example
if you put Browser.sync(), its waiting upto for that
Browser sync only. It should wait total Browser get upload
with fields.
Answers were Sorted based on User's Feedback
Answer / vinod kumar
Browser("creationtime:=0").Object.ReadyState ' readystate should be 4
Browser("creationtime:=0").Object.Busy ' busy should be False
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / hemakumar.m
Dim oLinkDes
Set oLinkDes=Description.Create()
oLinkDes("micclass").value="Link"
oLinkDes("name").value="LogIn"
Browser("title:=.*").Page("title:=.*").Link(oLinkDes).Exist
(6)
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / pramod k sirotia
To Sysnchronize the Browser at Field Level you need to
right the code as below:
Browser("Browser").Page("Page_Name").Sync 'instead of page
you may spcifed any test object.
Browser.Sync() this code will wait upto for that Browser
Sync only.Moreove if you want to sync browser with Fields
Use above example.
Thanks & Regards:
Pramod K Sirotia
pramod.sirotia@gmail.com
Is This Answer Correct ? | 1 Yes | 3 No |
What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?
What are the recording modes in wave event?
If we write a script in the expert view how are the objects created in the object repository? to be clear i will explain my problem first i have recorded the mercurytours application by providing the link www.mercurytours.com and all the objects are stored in the object repository ok this is fine. but i have copied the script generated in the above processes and pasted in a new test and tried to run that script but as the objects were not stored in the object repository it showed an error (The "Welcome: Mercury Tours" object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object).so how can i overcome that error
How can i learn Descriptive programming in QTP. Please reply.
can u please explain what is the exact difference between qtp8.2 and 9.0
Waht is User interface and Integration Testing?
I have a library function , with that function 100 scripts are being called. The library function is changed(something is added) . how do i update all the scripts.
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
What is InStr()
is it possible to operate(on/off)the capslock using qtp
what is diffrense between action and function
What are the framework folders?