suppose u hav a dialog or window which contains 10 buttons
with same name & value. now how to check each button? i.e.
how qtp indetifies these objects separately?

Answer Posted / true friend

This Will Show the order used to identify the object when
two or more objects get duplicated.

tools -> object identification

select the environment

a) standard windows
b) active-X
c) visual basic
d) multi media

select the class
if we select the environment as standard window
and class as winbutton

then it will display

Mandatory properties Assistive properties ordinaliden-
tifier
-------------------- ------------------- ------------
a)Native class a)window-ID a)location
b)Test b)Index


regards
True friend

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you can write contexts to text file in qtp?

592


What is the descriptive programming?

1516


Explain the difference between call to action and copy action?

525


What are the types of properties that quick test learns while recording?

540


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1571






What are the check points can be inserted without recording?

600


Your roles and responsibilities and daily tasks? (As automation tester)

2584


Can we create a qtp test from qc?

591


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2441


how will load the object during runtime?

1588


What is the XML file architecture ?

1557


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

3618


Where to use function or action?

671


What are the different types of functions available in qtp and explain ?

573


Can we Test Welcome Screens and Process Images with QTP

1433