The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Functional Tester - RobotJ

Pages: 1
shravi123
Newbie


Reged: 05/04/12
Posts: 15
How can i browse to a file to a file in rft?
      #719437 - 11/07/12 05:35 AM

I want to browse to a file on a prticular location on my system from my website. How can i do that?

Post Extras: Print Post   Remind Me!   Notify Moderator  
MrCoolK
Member


Reged: 11/17/11
Posts: 25
Re: How can i browse to a file to a file in rft? [Re: shravi123]
      #719443 - 11/07/12 06:19 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
shravi123
Newbie


Reged: 05/04/12
Posts: 15
Re: How can i browse to a file to a file in rft? [Re: MrCoolK]
      #719489 - 11/07/12 08:20 PM

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.

Post Extras: Print Post   Remind Me!   Notify Moderator  
MrCoolK
Member


Reged: 11/17/11
Posts: 25
Re: How can i browse to a file to a file in rft? [Re: shravi123]
      #719549 - 11/08/12 11:47 AM

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


Post Extras: Print Post   Remind Me!   Notify Moderator  
shravi123
Newbie


Reged: 05/04/12
Posts: 15
Re: How can i browse to a file to a file in rft? [Re: MrCoolK]
      #719903 - 11/20/12 05:46 AM

yes i was able do that thanx alot

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 5 anonymous users are browsing this forum.

Moderator:  AJ, AllenGay 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 2336

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5