This question is locked. New answers and comments are not allowed.
Hi,
On my screen has Browse file control, I cannot simulate step of select a file at browsing files.
Does WebUI Test studio support this one ? , How is the way to resolve this issue ?
Thanks
On my screen has Browse file control, I cannot simulate step of select a file at browsing files.
Does WebUI Test studio support this one ? , How is the way to resolve this issue ?
Thanks
4 Answers, 1 is accepted
0
Hi Totti,
could you give me some more info on the control in question. What kind of control is it (Silverlight, ASP .NET etc.) ?
Any of the following will be useful in analyzing the issue:
-screenshots
-a video demonstrating the (Jing is great)
-a link to a publicly-available demo of this type of control
Hope to hear from you soon!
All the best,
could you give me some more info on the control in question. What kind of control is it (Silverlight, ASP .NET etc.) ?
Any of the following will be useful in analyzing the issue:
-screenshots
-a video demonstrating the (Jing is great)
-a link to a publicly-available demo of this type of control
Hope to hear from you soon!
All the best,
Stoich
the Telerik team
Interested in Agile Testing?
Check out Telerik TV for a recording of
Automated Testing in the Agile Environment
0
Totti
Top achievements
Rank 1
answered on 14 Feb 2011, 09:15 AM
Hi,
I use the OpenFileDialog on button click event.
Here is the code :
BrowseCommand = new DelegateCommand<object>(BrowseFile);
public void BrowseFile(object o)
{
var openFileDialog = new OpenFileDialog();
var result = openFileDialog.ShowDialog();
if (result.HasValue && result.Value)
{
using (var stream = (Stream)openFileDialog.File.OpenRead())
{
byte[] bytes = new byte[stream.Length];
stream.Read(bytes, 0, (int)stream.Length);
//PictureFile.ImageTitle = openFileDialog.File.Name;
NewItem.Flag = bytes;
}
}
}
After the step "Button click", the OpenFileDialog is open but nothing happened, no file is browsed. And this test is stop until I browse file manual.
best regards !
I use the OpenFileDialog on button click event.
Here is the code :
BrowseCommand = new DelegateCommand<object>(BrowseFile);
public void BrowseFile(object o)
{
var openFileDialog = new OpenFileDialog();
var result = openFileDialog.ShowDialog();
if (result.HasValue && result.Value)
{
using (var stream = (Stream)openFileDialog.File.OpenRead())
{
byte[] bytes = new byte[stream.Length];
stream.Read(bytes, 0, (int)stream.Length);
//PictureFile.ImageTitle = openFileDialog.File.Name;
NewItem.Flag = bytes;
}
}
}
After the step "Button click", the OpenFileDialog is open but nothing happened, no file is browsed. And this test is stop until I browse file manual.
best regards !
0
Totti
Top achievements
Rank 1
answered on 15 Feb 2011, 08:36 AM
Hi ,
I have found a solution with FileUploadDialogHandler. It's working well.
Thanks for all supports !
best regards !
I have found a solution with FileUploadDialogHandler. It's working well.
Thanks for all supports !
best regards !
0
Sandhya
Top achievements
Rank 1
answered on 19 Mar 2014, 04:55 PM
Can you post the solution you found.