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)
Answers were Sorted based on User's Feedback
Answer / chandana
datatable.rowcount(row num)
datatable.value("column num","sheet num")
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / natarajng
var = "<Link Name>"
n = datatable.rowcount
for i = 0 to n
g= datatable.parametercount(i)
for j = 0 to g
k = datatable.value(j)
if k = var then
reporter.reportevent micpass, "validating link", "Link
is validated"
else
reporter.reportevent micfail, "validating link", "link is
noy found"
end if
next
next
If any issues nanda.dreddy@gmail.com
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / krishna
datatable.getcurrentrow(2,3)
for i=2&3 step2
next
u will get answer
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / 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 |
How can you find Local Host Name by Using QTP?
What is the use of sendkeys.In which cases we Use this sendkey.Pls explain with example.
How to analyzing test results using quicktest professional (qtp)?
Can we do Load Testing with QTP?
Hi Friends, while playing the recorded test i am getting this error "Cannot identify the object "q" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application." error is coming in this line of code "Line (2): "Browser("Google").Page("Google").WebEdit("q").Set "airtel broadband"". " .... please tell me how to overcome this problem. need help asap... Thanx in advance
How can we use the "CreateObject ("Scripting.FileSystemObject")" in QTP and what is the definition and purpose of it?
We stored into the objects OR and then write the scripting
What is a programmatic description?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested?
How many tables r created during the recording in QTP?
Do we have to Enable Smart Identification while running Or will it automatically be enabled ?