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 / 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 |
Post New Answer View All Answers
What is qtp window?
Can we write winrunner language i.e TSL in QTP tool?
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
What is the difference between the design-time and run-time data tables?
how u will evaluate the tool for test automation?
What is the difference between shared and local object repository?
How to import a test case present in ".xls" file to TD under a Test set?
How to find the difference between 2 dates in qtp?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
when to start the automation?
Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
Hi, Can anyone please tell me how to connect the QC with QTP using QTP script? Thanks in advance