Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Chooser on Chrome doesn't work - UFT 15.0.1
#1
Not Solved
I'm trying to record a file upload via a File Chooser in Chrome browser.
When i run the recording Chrome blocks the File Chooser dialog whit this error: File chooser dialog can only be shown with a user activation.


Code:
Browser("something").Page("myPage").WebButton("CHOOSE FILE").Click
Window("Google Chrome").Dialog("Open").WinEdit("Nome file:").Click 58, 6, micRightBtn
Window("Google Chrome").Dialog("Open").WinEdit("Nome file:").WinMenu("ContextMenu").Select "Paste"
Window("Google Chrome").Dialog("Open").WinButton("Open").Click
Browser("something").Page("myPage").WebFile("file_2").Set "myFile.xlsx"


How can I avoid this problem?
Reply
#2
Not Solved
There are several threads on this topic in this forum. Here is a blog article -

What to do when UFT is unable to identify upload buttons? 
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to open IE/Chrome/Firefox with a specific size? DarkestAmadeus 0 2,060 07-19-2018, 05:38 AM
Last Post: DarkestAmadeus
  Should I download every patch in order to UFT recognize the Chrome and FireFox browse jesusisaac 6 5,381 08-25-2016, 05:03 PM
Last Post: Ankesh
  Chrome Extension UFT Agent for Chrome Browser testing with UFT santhosh kumar 2 12,518 04-20-2016, 01:20 AM
Last Post: santhosh kumar
  Trouble Getting UFT to Work with Simplified Chinese hhamilton 2 3,101 03-10-2016, 09:35 AM
Last Post: vinod123
  [UFT][JSON] Validate Json file robertosalemi 0 3,832 02-10-2016, 04:36 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 1 Guest(s)