01-16-2015, 07:54 PM
Hi,
Tool: UFT 12.0
1. I have the below code that click save in the save dialog box to save the pdf file:
But the pdf file is being saved in H:\ directory instead. I ran the same code with QTP and it worked fine. I am not sure what is happening with UFT.
2. I have the below code. It supposed to double click "test" folder but it just select the folder instead. How can I double click the test folder so I can select a file inside the test folder?
Thanks,
S
Tool: UFT 12.0
1. I have the below code that click save in the save dialog box to save the pdf file:
PHP Code:
Dialog("Save current report in").WinEdit("File name:").Set "H:\Projects\Automation_Resources\A1.pdf"
Dialog("Save current report in").WinButton("Save").Click
But the pdf file is being saved in H:\ directory instead. I ran the same code with QTP and it worked fine. I am not sure what is happening with UFT.
2. I have the below code. It supposed to double click "test" folder but it just select the folder instead. How can I double click the test folder so I can select a file inside the test folder?
PHP Code:
Dialog("Save current report in").WinObject("Items View").WinList("Items View").Select "test"
Thanks,
S