if there is a web table of having row and colmns.a button is
placed at 2nd row's 3rd column which is worked for both edit
and delete..how to write script for the button to test both
operation on the web table using desriptive programing..
plz help me on script wheather using getroproperty
Q2)what is the command for taking valiue from a web table in qtp
Answer Posted / saravanaraja
The Below code is working for a Grid that contain Many rows.
Here .* indicate Page Title. Index number indicate 5 th row
Delete Link.
Browser("Title:=.*").Page(("Title:=.*").Link("html id:= ;
Index=4).Click
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
What does it mean when a check point is in red color? What do you do?
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Hoe can we do retesting using functions please give the code for it using login page
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
Explain actions in qtp ?
How many add-ins comes by default with quicktest professional?
what is the difference between the modular framework and datadriven frame work
What is the Difference between test object and run time object?
How can you close the second opened browser?
Explain quicktest professional (qtp) testing process?
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
how to post xml data from QTP scripts to any application?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What are the common defects found in your project? (in qtp interview)
How many types of status are there?