I am new on UIpath and need some help.
I want to select a specific object (AA) from a list in a software:
List:
AAT
AA
The order differ from time to time. We are using the click text tool to select the AA object, however the RPA selects the AAT because the AA letters appear first on list.
Any tips? Thanks.
You may try the Click activity instead of Click Text. In the properties pane, change the Selector accordingly; here is an example where IIS Express is selected from the Add/Remote Programs window.
Related
I am trying to select values from a drop down in my application. Drop down is getting identified as WebEdit in UFT.
Here is the line of code:
Browser().page().WebEdit("html tag:=INPUT","name:=WebEdit").Set "Add Document"
Add Document is a value in dropdown. Apart from "Add document" value, there are more values in drop down. please suggest how can i select those values one by one.
Thanks.
it should be WebList Object in Web application if it's a Dropdown.
I guess it's a Text Box Only in which if you click, multiple suggestion come like MakeMyTrip .
if it's the case you can use two approach.
1) Browser().page().WebEdit("html tag:=INPUT","name:=WebEdit").Set "SomeValue"
or
2) Browser().page().WebEdit("html tag:=INPUT","name:=WebEdit").Set "Someval"
' Then There will be Multiple Sujjestions, Which are nothing but WebElement.
' just click that WebElement
You can use descriptive programming to select values.
That way UFT won't select it as textbox implicitly.
Let me know if you are still facing issues.
From my experience, I guess the drop down you mentioned should be a dynamic one, Meaning a drop down will appear when you type words in that WebEdit column.
If so, my suggestion is that you can write a function to locate object's location (i.e. x,y property), and simulate mouse click the object. Now the object has been activated and you can type words. Use SendKey method to type some keywords you want to select, and use SendKey to press Enter to select it.
It's an ugly solution but sometimes it helps...
User need to select value from a list (huge list).
For examle:
Foo
Snack
StackOverflow
Stop
I think about something like ComboBox with manual text input.
What I mean. User select this control and start typing "st" - list of selectable items shortens to:
StackOverflow
Stop
How to declare such control?
If you are using Xamarin Android I think it is Autocomplete Text Input
I've been searching for a few days and doing every word combination I can think of to try to find the answer to my issue. I'm hoping someone can help me.
Before I begin I'd also like to say I'm very new to Access and admittedly not great with it. I'm still learning so this could be a very easy fix or I may have messed up beyond belief.
The issue I'm having is I've setup several page tab on a form and entered all the information for my records. However I cannot get the page tabs to pull up the corresponding records. Instead I have to either search through the records which doesn't always work or I have to arrow to the right record after selecting the tab I want. I'd like it so that when I click the tab it brings up the proper record automatically. If someone can point out where I'm going wrong and how to fix it I would greatly appreciate it. See below for some pics of what I mean.
As you can see in the first image. The tab name "Auto PLUS" doesn't bring up the proper record. instead I have to manually change the record using the arrows at the bottom of the form (see the arrow at the bottom of the image) in order to change the record. I need the record and the tab to match. Any help would be so greatly appreciated.
Thanks in advance for any help!!
-Deke
Assuming your form is bound (if in design mode your fields do NOT say "Unbound" then your form is bound), you simply need to add some VBA code to each tab's OnClick event.
Enter design mode and select the first tab "Claims Other". Open the properties pane, click the event tab, and click the ellipsis at the end of the OnClick line. When prompted, select "Code Builder" and it should launch the Visual Basic Editor.
It will put your cursor automatically in the correct position. Copy/Paste:
DoCmd.GoToRecord acDataForm, Form1, acGoTo, 1
The 1 should correspond to "Claims Other's" proper record in your table. Use the row number, not the ID number to determine what it should be.
Go back to Form View and click on the "Claims Other's" tab. The data should show the corresponding record in your table.
Repeat the steps of adding events to each tab, finding the relevant record in your table, and replacing the 1 from the above code.
I am using the List View. Based on variables I want to display different groups of objects (buttons, text etc.) in different records (shown at the same time).
My first attempt for a solution was to use tabs that I control via scripts. The problem is, that all records in the list view always display the same tab
of a tab control. So if I go to one tab in a records all other records also go to this tab.
Unfortunatly there is also no hide option that allows to hide groups of objects.
Is there any solution? I have filemaker 11 and 12. Altough a solution for filemaker 11 would be prefered.
Thank you!
No. You can do this in form view (hidden tabs and a trigger) or in a report (sliding elements surrounded by portals), but not in the list view.
Well.. The way you say can not be done as far as I know.
What you can do to hide the fields is using some other element on top of it with "conditional formatting" so that it can be hidden.
Is it possible to use the default ComboBox control under VB6 to make it a smart ComboBox?
We suppose that the values are already populated in the ComboBox. For example:
New Delhi
New World
New York
We need the ComboBox to respond to one of the default events, so when for example the user writes 'N' the value in the ComboBox will be the first Value starting by 'N'. In our case it's New Delhi and then the user can continue typing till they write the exact word or he writes something different.
This technique is very used in web Application (for example in Google when you put the first word you will get a droped down list containing the suggestions).
But how to do that in VB6 :-(
In case its not possible, how can we keep the ComboBox droped down, the values changes when the text in the comboBox change and the first element in the ComboBox correspond to the first word starting by the value entered by the user?
Thanks a lot.
Actually I found an easy solution :) thanks to FreeVbCode uder Forms&Contorls Tab. There is a control named AutoControl. We can use it easly for our requirement.
http://www.freevbcode.com/ShowCode.Asp?ID=5944
Thanks.
You might also want to look at this control from vbAccelerator.com, which supports auto-completion. The vbAccelerator code is usually high quality. Of course you're introducing quite a dependency into your code whenever you use a third-party control.