Answer Posted / nanda
This is used when we are working with descriptive programming.
that is not descriptive..
description.create...
it is used to create an object through scripting.
for example..
set objtext = description.create
objtext("nativeclass").value = Edit
objtext("attachedtext").value = "XXXXX"
now objtext is an edit box with name XXXXX
browser("dsagd").page("dsada").webedit(objtext).set "dsahdas"
If any queries....
nanda.dreddy@gmail.com
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How you can delete excel file in qtp?
How will you check a web application for broken links using qtp?
Explain about the test fusion report of quicktest professional (qtp)?
Hoe can we do retesting using functions please give the code for it using login page
wht type of User defined functions or Java Releated functions do we write in VB scripting
Explain how Selenium is different from UFT?
write script for bitmap image?
What is an expert view and keyword view?
What are the disadvantages of recording test cases in qtp?
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
what r the main attributes of test automation?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?
What are private functions in QTP? How they can be called from the function library?