Quantcast
Channel: Ribbon for WPF - Recent Posts
Viewing all articles
Browse latest Browse all 1458

Re: UITestControl.exist problem

$
0
0

Ok, thanks for your help, let me explain it further.

Our company develop a plug-in in ms-ppt, I use Uicodedtest to do some automation testing, below is the test case designed by me.

If button1 is exist, program will click it, otherwise click button2, code is very easy.

 

if ( button1.exist )

{

mouse.click(button1)

}

else

{

mouse.click(button2)

}

 

 

After I run this cold, vs2010 take a long time to judge whether button1 is existing. So I don't know why. This is  make me confused.

Thanks for your patient and help!


Viewing all articles
Browse latest Browse all 1458

Latest Images

Trending Articles



Latest Images