In a Java table, all cells have different color so write a code for finding a particular cell color.
Code
For i =1 to B().P().WebTable().GetROProperty("rows") For j=1 to B().P().WebTable().ColumnCount(i) B().P().WebTable().GetCellData(i,j).object.bgcolor i=i+1 j=j+1 Next Next
I wrote descriptive programming for textbox and getting general run error in this line "set base=browser("name:=gmail: email from google").Page("title:=gmail: email from google").Childobjects(desc)". how to handle the error.
please use message err.number and err.description to exactly find out the error.
How can we determine the records count of a web table through QTP?
use rowcount method.
Ex: Browser().Page().Webtable().RowCount
How to fetch the values which is inside webelement(weblist identified as webelement)?
use getroproperty
Hi, i have to perform click on 6 “+” icons on 6 tabs having same alt property and file name and I use index also but I won’t help me , so any good idea how to perform click on these 6 tabs,also im using below script for these. browser(“”).Page(“”).Webtable(“innertext”).Image(“alt:=select...
Use descriptive programming
I am working in Java based web application. Particular image in the application is not clicking sometimes while running. (addin used - web, active x, dot net)
Navigation to create a new virtual object
Looking to use the virtual object tool in QTP 11 to verify a drop down field on a page. Create the virtual object, but how do you insert into your test ?
In which codition we choose screen or window options in analog recording?
Recording relative to screen means operation based on screen co-ordinates, and the same with window recording means recording based on window co-ordinates
We need to use Analog recording when there is a need to check the object or need to do something based on the x,y coordinates of the application.
How to start automation testing through QTP?
Plz help me to create testcases and use QTP for generating reports
Hi i am planning to do certification on QTP. Can you please let me know the process thanks ravi
Which version of QTP will be used to test the mainframe application of tn3270 over rumba windows installer. the QTP should identify each field as mainframe object not as Java object or with x, y co ordinates.
Terminal emulator add in for hp QTP 11
Hi, we are trying to automate our application(running in hp tandem server) using QTP 11. We use ibm pcom emulator to access our application. We found out that we need terminal emulator addin for QTP to support/recognize our application. does anyone know where can I locate this addin? Is there a website...
Converting from numeric value to word
How to convert numeric value to english word like 1 to one?
How can I use childobjects in QTP for identification of webelements
I wrote this code: set odesc = description.Create() odesc.Value("class name")="webelement" odesc.Value("innertext")= job job is name of parameter with string value-user defined params. ex.Job = "officemanager". set obj =browser().Page().Childobjects(odesc) set obj_number = obj.Count but...
Set obj =Browser().Page().Childobjects(odesc) Set obj_number = obj.count this count represents the number of objects that are satisfying the description that you have made using description.create()....
Answered by: Brahma Sagar Gunda
View all answers by Brahma Sagar Gunda
Member Since May-2006 | Answered On : May 5th, 2006
The following list the Operating Systems that QTP supports, please refer: - Windows 2000-Service Pack 3 or Service Pack 4 - Windows XP-Service Pack 1 or Service Pack 2, - Windows 2003 Server. Note: QuickTest Professional is supported on Windows XP Service Pack 2 only if the execution prevention mechanism (also known as DEP-data execution prevention and NX-no execution) is not activated I believe this answers your questions and will thereby close this service request. Should you require further clarifications, please do not hesistate to let me know. Thanks. Regards, Brahma Sagar
Hi Vish,
Kindly install microsoft script debugger and then restart the QTP.
Regards,
Gaurav
Yes it true that QTP works on Windows OS only but it works fine on browsers others than IE as well(Mozilla Firefox is supported)
Object recoginition techniques for non unique objects
Describe gui object recognition techniques for non-unique objects
How to access a test input parameter?
this is how you can access test input parameter till QTP 11.00 myVar = TestArgs("inputparamName") you can use his in parent action in the test.. to use in other child actions you have to pass this pa...
Hi,
Using Parameter("Parameter Variable").
regards,
Purna
QTP real-time test script for SAP application
Can any one give any document for SAP script using qtp(QTP real-time test script for SAP application)
How can I include a link in reporter.Reportevent
Hi, i want to include a link in QTP results viewer. If the testcase fails then the user must be able to click on a link "see here the result details" and it will open a (excel) file. code should be like : reporter.Reportevent micdone, "click here for details", strurl "strurl" wil include a link to...
6 types of automation frameworks are there.
Linear/modular/data-driven/keyword driven/hybrid/BPT framework
Hi
There are four types of automation framework :
1) Linear
2) Structured
3) Keyword Driven
4) Data Driven