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: 698

Reply to This

Replies to This Discussion

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

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

Advertisement

Advertisement

Advertisement

© 2021   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service