Forum Discussion

grant_2's avatar
grant_2
Occasional Contributor
12 years ago

Splash screen test


Hi,



I am trying to test a few checkpoints of my WPF application's splash screen.



I use a custom splash class that inherits from Form.



I need to test a few things (for example:)

1. That the splash screen actually shows.

2. That it displays the correct image.

3. That it closes correctly when the application is ready.



I am struggling to find a way to test these as the splash screen does not stay on the screen long enough to drag the target thingy of the object/property checkpoint wizards onto it. Also I noticed that the "Run TestedApp" test action only completes (and allows subsequent test actions to take place) after the application has completely loaded. This is quite problematic as during my AppMain() of the main application I show, do stuff, close and dispose the splash object.



Any help much appreciated as the very first test I wanted to accomplish today with this new automation software to demonstrate to my team has taken me a whole day to figure out :(



Please help!

Thank you :)


No RepliesBe the first to reply