Websites with class subject

Hello everyone,

I’m an informatics student and I do not speak English very well.

I have a project that the target is to visualize in a web page our school hours of a class.

The websites with the school hours is: http://orario.cpt.local/invite

Go on “Aule”, then in the text box write the class (for example: “A-420 lab”, you can see also the list), then the page show the timetable of the class.

This is the part of code where I visualize that site:

    <iframe src=""></iframe>  

The problem is that I can’t insert directly on the URL the class that I want and I need to make in other way.

With Katalon Studio I can visulize the page directly with the class that I want, but I don’t know how to insert the istruction in the iframe.

Thank you in advance

Alessia Lella

Hi Alessia

Are you trying to send text to the “Inserim. nome” element?

If that’s the case, and if the page is inside of an iframe, first thing to do is switching to the iframe. But maybe it is easier just starting the script on

TestObject myFrame = WebUI.modifyObjectProperty(findTestObject('myFrame'), 'css', 'equals', 'iframe[src=""]', true)
WebUI.switchToFrame(findTestObject('myFrame'), 5)

Than send text to the “Inserim. nome” element:

TestObject myInput = WebUI.modifyObjectProperty(findTestObject('myInput'), 'css', 'equals', 'input[id="GInterface.Instances[1].Instances[1].bouton_Edit"]', true)
WebUI.sendText('myInput', 'A-420 lab')