Forum Discussion

Amna's avatar
Amna
Occasional Contributor
3 years ago

How to automate slider for the transparency in testcomplete c# scripting

I have the feature to implement the watermark on the entire page with few properties among them one is to show the transparency of the watermark on the page. Transparency can adjust through slider I am attaching the picture along with. Kindly suggest me best possible solutions how can I handle this scenario?

 

  • Hi Amna 

     

    When you are recording your test, 

     

    There is an expand button on your record widget (arrow pointing down) 

     

    Click on this, and then click on Test Type> Low level recording window co-ordinates or screen co-ordinates. 

     

    I would try window co ordinates first as it may be a little more reliable. 

     

    If that doesnt work then try screen co-ordinates

     

    KR

     

    Vincent