WPF Application Dialog problem
So I have a bit of a strange problem with my test, so far handling Save As Dialogs have gone well, however this particular Save Dialog is not being 'detected' as a Save As Dialog. The title of the window is "Select an Export File" and my problem occurs when I click on the button to open this window, when it's opened I can see in the log file made by Test Studio that it is considered an "Unexpected Dialog". And then test studio won't handle it as a SaveAsDialog. However, when I set the UnexpectedDialogAction to Handle and Continue, what would be the Save As Dialog box is closed as fast as it is opened and if I open the Save As Dialog box again, then Telerik recognizes it as a Save As Dialog and not an UnexpectedDialog. Where this gets even more complex is when I take off Test Studio logging, the Dialog never changes to a Save As Dialog, and Test studio keeps recognizing it as an unexpected dialog no matter how many times I click on the button that opens this.
Any ideas on how I can fix this? Very confused about this issue.
Manager.Settings.UnexpectedDialogAction = UnexpectedDialogAction.HandleAndContinue;
I have a project setup question...
So we have our main web solution in VisualStudio 2015, hooked up to GitHub. Now I am the only dev with TestStudio access so I would like all the TS files to live inside the same github repo, but not cause issues.
I see there's a VS project type, and that sounds nice, but if I add that will it break the build for the non-TS users, and can I just use the real TS UI desktop app INSTEAD of VS? Or do you just put the TS project into the root folder and let git sync the file changes and keep everything out of VS entirely?
Any info\suggestions people have would seriously help me out here :)
Thanks!
Steve
Hello Telerik Support.
I figured I would post here rather than use a support ticket because I would think that the answer to my question to be helpful for others trying to do the same.
I would like to understand better how the Telerik Scheduler is actually managing recurring test lists while getting the latest from TFS at each run. We are using a third party library reference in our tests and I would expect to be able to check in a new version of this assembly and have it automatically distributed with future test runs.
It appears that this is not happening as I would expect. I made changes to my assembly and needed to delete the scheduled recurring run and create a new scheduled recurring run in order to see the changes move to the execution servers and run properly there.
Can you help me understand what is the best practice for someone wanting to use this in this fashion? Develop a library for use in the tests while making ongoing changes/improvements to the library which should be picked up and consumed by existing scheduled tests. (It is expected that many of the library changes are invisible to the test - the test will not need to be updated to consume the new library, but the features of the library updates are desired to be part of the test run)
Additionally are there best practices regarding use of a third party library reference which is configurable with an app.config file? We are very interested in utilizing run time configurations from this library but are so far failing to understand how this deployment to the execution server is happening so that we might get our config details to be available to the library once deployed to the execution server.
Thanks!
Hello,
I am using Test Studio for the first time this week. I was hoping to get some help with testing a search page (link below). When I go to the search page and type in 'ch' I get several dynamic items to choose from. Is there a web page that shows me the method or properites I need? Any help would be appriciated. My question are.....
1. How can I get a count on the number of dynamic items that appear as I type in my two letters?
2. How can I get a list of the items and send it to the log file?
3. If I find the item I'm looking for, how can I select it and mark it as "Pass" ?
Link to search page --> http://demos.telerik.com/aspnet-ajax/searchbox/examples/search-context/defaultcs.aspx
I assumed I needed code to get what I needed (if not please let me know). Below is what little code I have so far. My questions are...
=================<code so far>=======================================
[CodedStep(@"RadSearchBoxDropDown('aspnetForm'): selecting item '3'")]
public void WebTest_CodedStep()
{
HtmlControl items = Pages.SearchContextFunctionality.Div;
Log.WriteLine("Count =====> " + items.ChildNodes.Count.ToString());
int counter = 0;
foreach (Element e in items.ChildNodes)
{
counter = counter + 1;
Log.WriteLine("----> Item " + counter.ToString());
Log.WriteLine(Pages.SearchContextFunctionality.Div.TextContent);
}
// RadSearchBoxDropDown('aspnetForm'): selecting item '0'
Pages.SearchContextFunctionality.Div.SelectItem(3);
}
=================<end code>=======================================
Hi team,
We are doing POC for one of our wpf application.
Can you please give me the method or properties which verify wpf window is loaded or not and should return true /false.
Thank you,
Is it possible to have "Global" elements? So like a root page (Layout\Masterpage\etc) contains all the common site elements. These elements all have unique IDs...and I do need to access them from different pages.
Seems like I have to keep adding the same element to different Elements->All Pages->Page
I see the + Arrow where I can add what looks like a global group called Predefined Elements, but the Edit element is greyed out, and the Find Logic in the properties doesn't seem to be changable.
What am I missing here?
Hello-
I'm exploring the load testing feature and am running into some issues. The application that I'm testing requires unique naming for all items created per each user so I started with a functional test that has a excel data source. My intention is to first test that multiple users can complete the same action at the same time and then introduce concurrency. I've created my load test with one user profile (from a functional test) that would essentially log in to our application and create a unique object. What I don't see is how to handle the issues of uniqueness when the virtual users are increased i.e. 10 virtual users running a test that logs in and creates a unique object with the same user account and the same name for the unique object. I didn't see anything in the video's or the help to address this.
I then created two user profiles that are from functional tests that do the same thing (with different user accounts), have set the virtual users = 2, set the Start test with = 2, and split the workload 50/50. When I run this test, only the steps from the first profile will complete (I did not clean up the data as part of the test to ensure what is running). I may not be handling this correctly but I can't see how to assign virtual users to each profile. My assumption was that if I had two profiles with 2 virtual users that started at the same time and that have the same amount of resources, they would be run at the same time.
Just to re-iterate:
1- How can I test uniqueness within my application while ensuring that the test is working correctly?
2- How can I allocate virtual users to specific profiles?
3- What steps need to be taken to ensure that 2 profiles will be run at the same time?
Thanks, Jon
when i record the test studio for WPF program.meet below issue,help me please!~
1.tick the checkbox in grid,when i run the recorded script,it cannot recognize this checkbox,then test studio cannot going until exit.--capture 1
2.when i print in my program.it will popup the window7's own print panel.but test studio cannot recognize it , have some suggestion help to resolve this problem.--capture 2
3.when i use 'run to here',cannot go to debugger status.should i setup something?--capture 3
4.when run the recorded script,test studio cannot recognize the 'x' button--capture 4
5.when run action 'click item in grid',test studio cannot recognize this step--capture 5
Hi,
I've recently started using the email notification system you offer. I'm currently using the google SMTP server from [url=https://support.google.com/mail/answer/13287] here[/url] and an unused gmail account to handle the emails. However, after much trouble shooting, I'm still unable to receive any emails.
Emails are correct.
Can ping the SMTP server(smtp.google.com) via telnet with port 465 and 587.
Any help would be greatly appreciated.
Regards,
Caleb