07-01-2009, 10:24 AM
Can anybody please make this script working.........This is related to the issue discussed in this loop. This issue is with line #11
Any help regarding this would be greatly appreciated....
Thanks...........
Code:
1. Browser("QTP Forums").Page("QTP Forums").Link("Login").Click
2. Browser("QTP Forums").Page("QTP Forums").WebEdit("quick_username").Set DataTable("UserName", dtGlobalSheet)
3. Browser("QTP Forums").Page("QTP Forums").WebEdit("quick_password").Set DataTable("Password", dtGlobalSheet)
4. Browser("QTP Forums").Page("QTP Forums").WebButton("Login").Click
5. Browser("QTP Forums").Page("QTP Forums_2").Link("User CP").Click
6. A = DataTable("UserName", dtGlobalSheet)
7. Msgbox (A)
8. Set oLink = Description.create
9. oLink ("name").value="&A"
10. Msgbox (A)
11. Browser("QTP Forums").Page("User Control Panel").Link(oLink).Click
12. Browser("QTP Forums").Page("QTP Forums - Profile of").Link("Log Out").Click
Any help regarding this would be greatly appreciated....
Thanks...........