How will you enchance the script?

Answer Posted / ram

Hi,

A. Mainly in enhance of script we do the optimization of
code.
B. We apply coding standards if already not followed.
C. We enhance our code for better performance.
D. If any changes in application then we change our
code.

Ram

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi All, How to Compare two strings character by character in QTP

955


Is it possible to split an action? How?

662


Which recording modes need more memory?

589


Hi, Can we open a test in qtp10 which is saved in qtp 9.2?

1438


How to execute the WR Script through QTP? I have WinRunner script with initialization script, common scripts, GUI AND functions. I connected WR through QTP with "call to WinRunner" option but I am getting problem after connecting to WinRunner i.e. showing "Do you want to quit now" with 'yes' and 'No' message box

1833






Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("ยป County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

1349


How to suppress warnings from the test results page?

605


What are the recording modes in qtp?

587


Explain hybrid framework with advantages and disadvantages?

546


What are the various automation frameworks available in qtp?

513


what is description object?

1602


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3017


What is the difference between a Function and Procedure in QTP?

689


How many lines of code in each script of QTP?

4036


1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?

1498