how to click the link in webpage by using QTP Script????????
Answer Posted / gayathri
Hi,
Browser().Page().WebLink().Click
Is This Answer Correct ? | 3 Yes | 11 No |
Post New Answer View All Answers
How to get Traceability matrix from TD?
How many types of trigger events are there in qtp?
How to use actions in qtp ?
How to associate function library at a run time?
wht type of User defined functions or Java Releated functions do we write in VB scripting
What are the automation metrice in your project?
How to use Environment parameterization? Explain with an example.
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
How many lines of code in each script of QTP?
What is the synchronization point in qtp?
How to open a new test using quicktest professional?
What are the recording modes in qtp?
can test automation improve test effectiveness?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...