1. I have asked the same question for the third time, but
i am getting wrong answers.
Pls give me the script to count the number of edit boxes or
checkboxes in an windows application screen.
In windows application childobject is not working, anyone
very urgent
Answer Posted / raju
SystemUtil.CloseProcessByName "flight4a.exe"
SystemUtil.Run "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe"
Set oDesc=Description.Create
oDesc("micClass").value="WinEdit"
Set oChildern=dialog("regexpwndtitle:=Login").ChildObjects
(oDesc)
msgbox ochildern.count
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
write a script to verify the image path(src property) of the images which are in web pages.
How you calling actions in qtp?
can any body give the banking domain concepts/links
Explain the terms test and business component?
How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
What are the various automation frameworks available in qtp?
hi can anybody help with an qtp 9.2 license key please. Thanks, Nitesh.
what kind of frame work you used in your last project?
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
Explain the types of object repositorys in qtp?
how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods
How you create new action in qtp?
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