Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Input to Link
#1
Hi All ,

As i know QTP can give xl sheet inputs to properties like WebEdit , WebList ,
as same , i want to know how can we give xl sheet inputs to a Link property ?


Thanks
Reply
#2
Hi,
What exactly you want? You are saying about Brow().Page().Frame().WebEdit().Set Datatable("Param1", dtLocalSheet) , or about setting it directly in OR?
Reply
#3
Hi

i want like "Brow().Page().Frame().WebEdit().Set Datatable("Param1", dtLocalSheet)" situation , in my site i have 4 links like this
Link A
Link B
Link C
Link D

recoding time i recoded to Click 'Link A' , now i want to run that test 4 iterations to click all the links, what should i do ?

if i can give this link's names from input xl sheet it may works isn't it?

Thanks
Reply
#4
Hi,
You can perform those actions by using child objects , follow as like this
1.First find the number of links (this you already given it is 4)
2.Using the child objects and your navigation (Browser(xx).page(xxx)....
3.Use the for loop with number of child objects (i.e, no of links) and perform the click
4.Finally your problem will sove
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 1,261 07-01-2020, 11:32 AM
Last Post: Alaguraja
  How to get input from the user in QTP? shanthiK 10 20,078 08-07-2017, 11:34 PM
Last Post: zunebuggy
  Problem in Input from keyboard:sendkeys Rachna 1 5,408 10-14-2013, 06:07 PM
Last Post: anil2u
  How to Pass Output value as input from one IE windoe to another IE window newqtp 0 2,845 01-24-2013, 08:36 AM
Last Post: newqtp
  HTML input element names flexdev 1 3,536 05-25-2012, 06:51 PM
Last Post: falvi

Forum Jump:


Users browsing this thread: 1 Guest(s)