1) 100 test boxes there in application. how to click 100
test boxes using vb script? 2) 100 objects there in web
page,how we will store that 100 objects repostries?
Answer Posted / uday
The expectated answer for these kind of questions is using
descriptive programming.
If you create single webedit object, then u can use it for
100 webedit objects.
set editObj=description.create
editObj("micclass").value="webedit"
set editChildObjCol=b().p().childobjects(editObj)
for i=1 to 100
editChildObjCol(i).click
next
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
please any one can explain the keyword driven framework. with gmail example.
What is Unicode Compatibility?
How to find operating system information using the qtp script?
How can you write the scripts that operate on different objects depending on run-time information?
explain keyword driven framework with banking domain?
How to use conditional loops in qtp ?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
what is the difference btn risks & Therads in the Test plan documentation?
What is the difference between run time object and test object?
could any help me please, how to work on visual foxpro application using UFT
what is key word driven frame work ? why it is called like that ? what is the diference between keyword driven and data driven frame work ?
I used the below code to open QTP through VBscript?But i can unable to Invoke QTP...PLZ help me with the correct code to invoke QTP through VBS with description of the code aswell. Dim qtApp 'As QuickTest.Application 'Declare the Application object variable Dim qtTest 'As QuickTest.Test 'Declare a Test object variable Dim qtResultsOpt 'Declare a Run Results Options object variable Set qtApp = CreateObject("QuickTest.Application") 'Create the Application object qtApp.Launch 'Start QuickTest qtApp.Visible = False 'Make the QuickTest application visible qtApp.Open "C:\form", True 'Open the test in read-only mode 'set run settings for the test Set qtTest = qtApp.Test qtTest.Run 'Run the test 'WScript.StdOut.Write "Status is: " & qtTest.LastRunResults.Status 'Check the results of the test run qtTest.Close 'Close the test qtApp.quit 'Close QuickTest Pro Set qtResultsOpt = Nothing 'Release the Run Results Options object Set qtTest = Nothing 'Release the Test object Set qtApp = Nothing 'Release the Application object
Explain the types of object repositorys in qtp?
is there any addin for remedy user application
What does it mean when a check point is in red color? What do you do?