shravi123
Newbie
Reged: 05/04/12
Posts: 15
|
|
I want to browse to a file on a prticular location on my system from my website. How can i do that?
|
MrCoolK
Member
Reged: 11/17/11
Posts: 25
|
|
what do you mean my browse So u want to check weather the file is there or not or do you want to open a file please be more specific and please specify the file type
|
shravi123
Newbie
Reged: 05/04/12
Posts: 15
|
|
On clicking on browse button a window appears that is windows component and i need to recognize the buttons on that window. The test inspector is not identifying the components on that window.
|
MrCoolK
Member
Reged: 11/17/11
Posts: 25
|
|
There are couple of way you can try in the following way try this one Capture the window that pops out and use the following method this method will return u all the buttons in the window
public static TestObject[] findAllButton(TopLevelSubitemTestObject window ) { TestObject[] to = window.find(atDescendant(".class", "Button")); return to; }
let me know if u are able to do that or not or else I will suggest u something else
|
shravi123
Newbie
Reged: 05/04/12
Posts: 15
|
|
yes i was able do that thanx alot
|