Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Doubts
#5
Solved: 11 Years, 3 Months, 4 Weeks ago
U need to put a breakpoint at the first line of the script. Then hit run or F5. The cursur will stop at the breakpoint inserted. U can then use F10 to debug line by line.

Regarding index, i used to assign an index number to the object in the object repository itself (Properties). This way the object will become unique.

Or u can use descriptive programming to assign an index.
Code:
Set  lnk_dept=Description.Create
    lnk_dept("text").value=strSuperDeptName
    lnk_dept("html tag").value="A"
    lnk_dept("height").value="28"

ur code shld be something like this....

Code:
Set  lnk_dept=Description.Create
    lnk_dept("text").value=strSuperDeptName
    lnk_dept("html tag").value="A"
    lnk_dept("height").value="28"
             lnk_dept("index").value="1"

Plz share the scenario u want to automate for better answer.
Reply


Messages In This Thread
QTP Doubts - by Forrest Gump - 09-04-2011, 10:44 PM
RE: QTP Doubts - by Ankesh - 09-05-2011, 07:40 PM
RE: QTP Doubts - by Forrest Gump - 09-06-2011, 05:19 AM
RE: QTP Doubts - by suresz449 - 09-06-2011, 10:47 AM
RE: QTP Doubts - by Ankesh - 09-06-2011, 02:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Doubts in automatino framewrok pkdhake 2 2,080 04-12-2013, 09:35 AM
Last Post: pkdhake
  doubts tirumal 1 2,295 05-10-2011, 11:02 AM
Last Post: Jay
MyBB Doble click doubts....... nileshpatil2521987 1 2,600 07-29-2010, 07:50 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 7 Guest(s)