Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to write a genecric function for sync operation
#7
Solved: 11 Years, 6 Months, 3 Weeks ago
What I have right now is a bit similar to this... but i'm tryin to write somethin more simpler/compact... well , lemme add more details... Browser(x).Page(y).Link(z).click... x,y,z are global variables and are read from an excel... every row in the excel has diff values for x,y,z... I use 'Execute' statement instead of the Call Function as the no of parameters to be passed varies from function to function... In the same way if i wanna hv a sync function (page sync alone wont work, as some objects load wel after the page has loaded) i'l hv several lines like
Browser(x).Page(y).Link(z).sync.......Browser(x).Page(y).Image(z).sync.....Browser(x).Page(y).weblist(z).click.... etc... Now can i handle these dynamically? like creating an object or something and just use obj.sync? Please advice... and sorry for dragging this thing....THANKS
Reply


Messages In This Thread
RE: How to write a genecric function for sync operation - by martinangello - 07-20-2009, 05:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question Cross Browser Sync Not Working geodude 0 2,030 04-07-2017, 08:43 AM
Last Post: geodude
  Calling a function in a Test Script from a function library anupam4j 3 6,297 06-26-2015, 12:31 AM
Last Post: babu123
  How to use sync function 22sumit 2 3,586 06-16-2015, 06:27 PM
Last Post: 22sumit
  The DataTable.ExportSheet operation failed. Invalid file. Niraj 2 6,428 05-05-2015, 11:40 PM
Last Post: babu123
  Excel operation - to find usedrange of rows & col pooja 1 9,880 02-19-2015, 04:06 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)