Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need to add a "wildcard" to an image in my statement
#1
Not Solved
Greetings,

I'm pretty much a novice user of QTP. I can write simple scripts to perform simple actions with few to no variables.

I need to build a wildcard so my script will "add a new row" despite which row it is. Example "Add a new row at row x"

Here is part of the script:
.Image("Add a new row at row 1").Click


Any advice?
Reply
#2
Not Solved
where do you want to add a new row? What do you mean by wildcard? Are you trying to make a reusable function? Please elaborate your requirement.
Reply
#3
Not Solved
Greetings. Thanks for posting. Yes I think I want to make a reusable function. The row number is a variable so the function needs to be dynamic. I want to add a new row "at the next row" rather than "at row 1"
Using excel as an example...I need the statement to function similar to the anchoring function in an excel formula where the formula calculates for the next row eg =IF($C2=$C1,2,0)

I hope I am helping to clarify.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  what add-ins should i add... Venkat 1 3,407 03-07-2011, 12:38 AM
Last Post: akbarsharifmd
  is webservice add in is different from web add in in qtp? hikpvasanth 1 3,319 10-07-2008, 07:23 PM
Last Post: niranjan

Forum Jump:


Users browsing this thread: 1 Guest(s)