Quality Testing

Quality is delighting customers

Can someone tell me how to use wait child method in test complete as it's showing VB script error when i use it.

Hi everyone!

Can someone tell me how to use wait child method in test complete as it's showing VB script error when i use it.

 

if RiskSpan1.WaitaliasChild(Aliases.RiskSpan1.wndRiskSpan.WindowsForms10MDICLIENTapp01e6fa8e.wndWindowsForms10Window8app01e6fa8e)then
msgbox("wait is working")

 

 

here riskspan is my application

and often it   has a name riskspan and riskspan1 alternatively  how do i make it a common name?

then

whatever is inside the brackets, is the mapped name from the object spy for the window for which i want to know the existence.

 

Views: 256

Reply to This

Replies to This Discussion

Hellow Priya, 
            See the 'FindAllChildren' TestComplete help topic.

You could explore with

WaitForObject method. this could help you .

I guess delay can also the problem but that can be static solution. Try to keep name mapping to two level hierarchy and script will become easier to handle as well as name mapping will become easy.

RSS

TTWT Magazine

Advertisement

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service