Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to set value in WebFile when Windows is locked
#1
Not Solved
Hi Guys,

I was running a script on a website and in a particular action I faced a problem where the scenario was to upload a document to the site. Following is the process:

1. When I click on a WebButton, a small fixed size browser pops up with a WebFile named "documentfile" and a WebButton named "Upload" inside it.

2. I have to provide the path of the document on the WebFile and click on the "Upload" button.

3. If I leave the WebFile blank and click on the "Upload" button, it shows a warning saying "Provide correct document path"

Now when I am running the script in an opened Windows,it is working fine i.e Document is getting uploaded. But when I am running the script and locking the Windows ( By pressing "Windows + L " keys), the warning message "Provide correct document path" is shown, that means the path is not being set on the webfile when Windows is locked.

I am providing the document path from Data Table

Can anybody come out with a solution to this so that I can run this script in an Locked Windows environment.
Reply


Messages In This Thread
Not able to set value in WebFile when Windows is locked - by PrabhatN - 08-19-2010, 11:58 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to make QTP Script to work when system gets locked? ramkumarad 6 12,474 11-02-2017, 03:37 PM
Last Post: Divv
  Webfile.set is not working in QTP 11 for chrome browser version 24 pradeep singh 1 5,098 11-05-2014, 11:51 AM
Last Post: mansoor.s.shaikh
  System getting locked Anand Saboo 4 3,692 10-24-2013, 05:09 PM
Last Post: Anand Saboo
  Running QTP scripts while host computer is locked jreelest 5 7,994 10-24-2013, 01:25 PM
Last Post: Anand Saboo
Shy Data Table Cells getting locked when test is saved to QC. How to prevent this anil2u 2 5,231 09-21-2012, 09:35 PM
Last Post: npdqa

Forum Jump:


Users browsing this thread: 4 Guest(s)