Micro Focus QTP (UFT) Forums
Issues when clicking a Link - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Issues when clicking a Link (/Thread-Issues-when-clicking-a-Link)



Issues when clicking a Link - SS001 - 04-11-2010

Hi,

I am facing two issues on QTP with my project

1. The basic project flow - create a order, save the order, search the order and click the searched order for edit. I am facing problem when clicking the order for edit, its basically a link(order number). The order number is dynamically generated one, so when i record it saves with a number, and when i run the new order number get mismatched with old order number. How to pass the new order number as a variable to the link.

2. Issues with changing password screen.

window1(Login Window)
Login:
Password:

Window2(Change password window)
Old Password:
New Password:
Confirm new password:

In this scenario i am facing issues with old password place. I sucessfully logged in, then changed the password and pass the new password for login page for relogin, but i couldn't pass the new password to old password place for changing again, boz it gets saved during the record, how to solve this issue.

Thanks


RE: Issues when clicking a Link - Saket - 04-12-2010

Hi SS001,

first of all, please always try to put one query per thread.
for the answer to your issue#1, try regularizing your link object in OR, e.g. if your link is like 'order12' make it to 'order.*'. it should solve the issue. try seraching this forum, I am sure this has been discussed earlier.

for issue#2, Pass the login credentials through the datatable(parameterization).