04-16-2009, 09:52 PM
I have an issue regarding selecting the button in marcos (Excel sheet) in QTP and am not able record the clicking button operation in excel sheet.
Marcos(Excel sheet)
|
04-16-2009, 09:52 PM
I have an issue regarding selecting the button in marcos (Excel sheet) in QTP and am not able record the clicking button operation in excel sheet.
04-17-2009, 11:08 AM
In VBA In the module add the macro as
Code: Sub button1_click () and then right click on the button and assign the macro to the button. Try and tell if it works.
04-17-2009, 11:15 AM
Please vill u explain in clear words.
iam not getting the above code.. Thanxs.
04-18-2009, 02:26 PM
Can you explain your question clearly and in detail? I hope you are talking about macros and not 'marcos'
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
(04-18-2009, 02:26 PM)Ankur Wrote: Can you explain your question clearly and in detail? I hope you are talking about macros and not 'marcos' Right, Iam talking about Macros only. In Macros i have few worksheets able insert data using this script. Example: Code: Set obj=getobject(Excel.Application) After inserting the data value i want clicking a button in that sheet only. Here am getting any idea how to click a particular button in the following worksheet. Please can u help me. Thanks. Right, Iam talking about Macros only. In Macros i have few worksheets able insert data using this script. Example: Code: Set obj=getobject(Excel.Application) After inserting the data value i want clicking a button in that sheet only. Here am getting any idea how to click a particular button in the following worksheet. Please can u help me. Thanks. (04-18-2009, 08:53 PM)qtp1983 Wrote: [quote='Ankur' pid='5344' dateline='1240045012'] Right, Iam talking about Macros only. In Macros i have few worksheets able insert data using this script. Example: Code: Set obj=getobject(Excel.Application) After inserting the data value i want clicking a button in that sheet only. Here am getting any idea how to click a particular button in the following worksheet. Please can u help me. Thanks.
04-20-2009, 02:21 PM
You mean that you are able to record the macros but when you are clicking the button then click event is not getting recorded. is it so????
04-20-2009, 03:32 PM
No, Iam not even record any of the operation in macros sheet ike insert data and clicking the button.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
QTP not recognizing two Excel (Marcos) application. | yaseenarfath | 2 | 3,011 |
06-01-2009, 06:36 PM Last Post: Ankur |