suppose i have one datatable in my datatable in 2 nd row 3rd
column one link is ther i need to validate that link how do
u do this?(wipro)

Answer Posted / suman

L_Name="<Link-name>"
L_Name1=B("name").P("title").WT("Tbname").Getcelldata(2,3)

if strcomp(L_Name=L_Name1)=0 Then
Reporter.reporteven micpass,"Linkname","Is Present"
else
Reporter.reporteven micpass,"Linkname","Is not Present"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to analyzing test results using quicktest professional?

732


Is it possible to switch between recording modes during a test creation?

681


How many ways we can parameterize data in quicktest professional?

653


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1470


Does QTP record on Objects created on XWindows Environment?

1767






I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)

1513


Explain calling sub procedure.

713


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

1715


Where we can use the synchronization?

655


How can you close the second opened browser?

909


What is output value? How many types of output values are there in qtp?

674


Can we Test Welcome Screens and Process Images with QTP

1512


write the vb script for call to new action in qtp?

1938


Key word driven framework

1781


Differences between text and test area checkpoints?

662