- Community Home
- >
- Welcome
- >
- Other HPE Product Questions
- >
- Re: UFT help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2017 08:06 AM
05-14-2017 08:06 AM
UFT help
Hi all,
I'm trying to create a function to upload my Resume where UFT will click on the 'Select Resume' link and choose the file from an external forlder, titled 'Myresume'. So far, I got this far:
Function fnClickWebElement (Prop_HtmlID,Prop_HtmlTag,Prop_InnerText)
Dim oWebElement
Set oWebElement = Description.Create
oWebElement("HtmilID").Value = Prop_HtmlID
oWebElement("HtmlTag").Value = Prop_HtmlTag
oWebElement("Innertext").Value = Prop_InnerText
MyBrowser.WebElement(oWebElement).Click 'this opens an external folder containing the Resume.doc file, and I'm stuck here!
End Function
Do I use the 'FileSystem' method or some scripting would do the trick? I'm more for scripting, although I don't know how to do that.
Your help is very much appreciated.
Thanks a lot.
- Tags:
- SW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2017 03:24 PM - edited 12-23-2017 02:09 PM
05-14-2017 03:24 PM - edited 12-23-2017 02:09 PM
Re: MF UFT help
This is the wrong company for MF software questions. You need to register in the MF Software Forum:
https://community.softwaregrp.com/
https://community.hpe.com/t5/Announcements/Software-Category-Blogs-Forums-in-Read-Only-May-9-15-2017/m-p/6962462
https://community.hpe.com/t5/Announcements/Software-to-split-from-HPE/m-p/6955457
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2018 12:28 PM - last edited on 01-31-2018 12:06 AM by Parvez_Admin
01-30-2018 12:28 PM - last edited on 01-31-2018 12:06 AM by Parvez_Admin
Re: UFT help
can you set it to childobjects and then find if you are having one or more child objects. Looks like you are not able to uniquely identify the object with provided information.
Set WEChildObs = Browser("B").WebElement(oWebElement)
WECount = WEChildObs.count
if you have more than one or 0, then you will have to refine your description.
SATeam
GoScripLESS. Create tests in seconds, using scriptless addin from SA.