Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Automating save dialog box in windows using UFT
#1
Not Solved
Hi,

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to send/pass UFT Run Error Dialog as output value to main driver script lravi4u 0 635 11-05-2023, 03:55 PM
Last Post: lravi4u
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,121 06-06-2017, 11:12 AM
Last Post: workrohit08
  Automating SAP Sales Order Dwarak Calayampundi 0 1,738 06-09-2016, 09:28 AM
Last Post: Dwarak Calayampundi
  Script is not generated for windows application in UFT sreelatha 1 2,408 04-04-2016, 10:51 AM
Last Post: vinod123
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,860 08-20-2015, 11:39 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)