08-20-2010, 02:56 PM
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:
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
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