Hi,
I am facing different -2 issues while executing following statements
1. SwfWindow("Personify: NASE").SwfToolbar("_MDIMain_Toolbars_Dock_Area_To").SelectToolbarTextBoxTool "CommandDebug","CommandURL","productcentral"
2. SwfWindow("Personify: NASE").SwfWindow("New Customer Creation").SwfEditor("txtPhoneNumber").Set "hello"
-QTP 9.5 getting hang when executing above statements.
3. SwfWindow("Personify: NASE").SwfToolbar("_MDIMain_Toolbars_Dock_Area_To").DropdownToolbarTool "ACCOUNTING MANAGER","ACCOUNTING MANAGER*32" SwfWindow("Personify: NASE").SwfToolbar("_MDIMain_Toolbars_Dock_Area_To").ClickMenuTool "ACCOUNTING MANAGER,ACCOUNTING MANAGER*32","ACCOUNTING MANAGER*33"
4. SwfWindow("Personify: NASE").Activate
- throwing exception for above statement but some times working absolutely fine.
Using TestAdvantage CLR 2 VL2. 2007.
Please let me know how to fix these issues.
Regards,
Bipender
Bipender,
Although we are using an earlier version of TestAdvantage, we have run into instances when QTP would record ".Set", but then not recognize it during the playback.
We used ".Type" in place of ".Set" and it worked, so you might try that (if you search the QTP Help file for "SwfEditor Object", you can determine the available methods and properties for that object).
I'm not sure about your second issue.
Hope this helps!
Dennis