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

I tried both the ways suggested by you but not able to resolve the issue.

I even tried with Setting.Packages.WebPackage.Settings("ReplayUsingSourceIndex") = 0/1, but this also didn't help.

Actually my piece of code is as follows:

Code:
With Browser("Document Upload")
        .WaitProperty "name", "Document Upload", 20000
        [color=#0000CD].Page("Document Upload").WebFile("documentfile").Check CheckPoint("documentfile")
        .Page("Document Upload").WebFile("webdocumentfile").Check CheckPoint("webdocumentfile")[/color]
        [color=#FF0000].Page("Document Upload").WebFile("documentfile").Set DataTable("DocumentFilePath_In",dtLocalSheet)[/color]        
.Page("Document Upload").WebButton("Upload...").Click
End With

The 2 lines colored as blue are two checkpoints on the two webfiles which pass even if Windows is locked.

The line colored in red is to set the document path on the webfile which is not setting any value in the webfile

The "Upload... " button is getting clicked.

So here the only problem is Setting value in the WebFile

Please suggest
Reply


Messages In This Thread
RE: Not able to set value in WebFile when Windows is locked - by PrabhatN - 08-20-2010, 02:56 PM

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,995 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: 3 Guest(s)