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 |
I have to automate excel features using qtp in this i need to open instance of excel in different ways like double click on file, drag & drop options, File > open option but i know the 2 ways to open the excel instance 1 is by creating the object and another is to open the excel file in already opened instance of excel through sendkeys through qtp. But i m not geting how to open excel file through double click and drag and drop option through qtp script plz help me out anyone can thanks in advance
can anyone tell me how to search a word/line in a document and to paste it in another file? Thanks in advance.
WE ARE PLANING TO DESIGN AUTOMATION FRAME WORK. HOW TO CALL CONFIGURATION SCRIPT FILE(.VBS) FROM DRIVE SCRIPT FILE(.VBS)
How to handle Java tree in QTP?
in which case & which method we can use "native" property of an object ?
Can you expect major bugs in Net banking Application?
How to find the length of the string in qtp?
Can you tell me any books or websites to learn VB Script for QTP ??
What are the general steps involved in the data driven framework?
What is the purpose of loading qtp add-ins?
How to create a run time propertyfor an object?
Hello, I am learning QTP. I have recorded test for Login page, i have also inserted checkpoint for Email field & when I run test it passed. But when i tried to run test by inserting 'Adding Parameter Values to a Data Table' for email & password field, it pass the first value in both the fields but after that when test run for second parameter values it displays 'Internet Explorer cannot open the Internet site, Operation aborted' & when i analyze test result it displays run time error 'Object disable'. I have also cleared all the history from IE but it is not working. Please help me. Thank you.