I used selenium IDE(katalon plugin) in chrome.
I have a school db of 300 students.
I need to update 2 fields in every student profile -2 drop down menus. Select "no" in both and click "Save". I automated it in the plugin. Now, I don't know how to go to every profile and do same.
The right way is to use some while loop.
The db is in this form:
https://e.edu.kz/nedb-passport/student?school=3659&student=4314369
https://e.edu.kz/nedb-passport/student?school=3659&student=6546456
https://e.edu.kz/nedb-passport/student?school=3659&student=4785691
I did a pretty stupid thing - I simply change the student ID at the end and run the script, click 'play' in the plugin.
This is not proper automation, how do I do this?
Maybe switch to code and write all the selenium cmds in java?
Related
I am pretty new to Selenium IDE, hoping to use it with a certain web app which a client would like to be able to run automated tests for after periodic uplifts. The tests would all involve only clicks and text entry.
I cannot get the application to execute clicks on certain form elements on specific pages.
My test so far is simple. I am simply navigating to a page and trying to click an icon whose target, according to the IDE, is "css=#MGOpenButton-btnEl > .btn-icon". The Selenium IDE will register the click as having been performed successfully (i.e. no failures) but the actual desired output of the click (i.e. a pop-up search box appearing) isn't actually happening. I have tried click, click at, double-click, mouseover before click, all to no success.
Reading back through some other topics, I thought it may have something to do with the element being embedded in frames, but if that is the case I'm not sure how the click is being read as successful by the IDE. The second thing I'm wondering is if it might not be playing nicely with Javascript.
Is it common for the basic IDE front-end functionality to fail when a webpage incorporates Javascript?
I have a question about downloading a file from a website using matlab. It is actually a four step as following.
1) There is a web authentication for reaching the website:
http://ngawest2.berkeley.edu/users/sign_in?unauthenticated=true
Example account that has access to the site:
Username0 = 'ibk2#email.arizona.edu';
Password0 = '12345678';
2) After authentication/login is passed, there is a dropdown menu to choose an option and "submit" button to proceed. For example, dropdown menu is
"Select models to generate target spectrum:"
- "No Scaling"
- option 2
- option 3
so I want to select one of the options, e.g., "No Scaling" and then enable "submit" button.
3) After submitting in previous step, it takes me to another view with lots of other menu and options, but I want to just fill in one text-box where you type in the file names you want to download, the name of box is "RNS(s)" and for example I want to able to fill in like this
RSN(s): 5818,5819,5820
then there is another submit button with a name "Search Records" to submit RNS names above to be searched.
4) Finally after step 3 is done, there is another button that enables to download all the RNS files in a zip file, the button name is
"Download Time Series Records (metadata+spectra+traces)"
I am not sure how hard this question is. I have used ulrread and urlwrite with authentication similar to the one in this page:
How do I provide a username/password to access a web resource using Matlab urlread/urlwrite?
Is this possible to do in matlab?
I hope someone knows a way to go around to download some files the way I described above. I really appreciate any comments.
Baha
so I have this simple question that I would love to get anwserd.
I am new to BPM an Alfresco Activiti and I am workng on with the trial version of Alfresco Activiti to create a sample project for our company.
I decided to work with the Step editor to se what it can do and if it's as powerfull as a normal BPMN 2.0 editor.
Now I am working on a form where one user would need to select the user for the next task. I was wondering if it's possible to use the single select component to display all the users on the server from which the asignee for the next task could be selected. How can this be done?
I know it is not the bes pracitce to show all the users on the server but this is a test project and your help would be really appreciated.
If any more info is required I will gladly edit the post.
Thnak you.
There is a user picker form control in there, that allows searching the whole system. See the third entry:
you can create a dropdown whose options are populated from a rest call which is provided below.
GET api/enterprise/admin/users
This will return list of all users available in JSON format.
Hope it helped.
I've just started in FM 14. I have a client table and a project table. When I look at a client entry I have a portal that shows me the titles of the projects they have commissioned. I'd like to be able to click on one of the projects in that portal list and be taken to the layout that contains all of the other fields in that project record. Can this be done? Is this enough information?
Yes. Set the button action as a script step "Go to Related Record". In this script step, set the table as "projects" and select the layout you would like to go.
I would stay away from GoToRelatedRecord. I usually just grab the ID from the item in the portal, then search for that item on a new layout, then do whatever I planned on doing. It's safer. With GoToRelatedRecord you can never really control what happens.
I am a beginner with Selenium, and I am trying a simple case of going to Wikipedia, entering some text (e.g - James Joyce), and asserting that James Joyce is on the page after clicking the "go" button. However, Selenium is not registering that I am entering "James Joyce". When I stop recording and view the commands, all I see is that Selenium goes to the correct page, but clicks on the button without typing the data. Is there a way to get this to work properly?
I think that is a problem with Wikipedia. Not sure why it doesn;t work. You can enter the command manually. For Selenium IDE that is Command: type, Target: searchInput, Value: James Joyce.
Selenium doesn't always record an action. It depend on how the page is built.
You will have to Manual create some inputs.
One work around I have is to manually enter the data, then highlight it and right-click.
You should now have a option that will give you the target field. Click on it
and manually change the command.