type(waitForObject(names.address_Book_Add_Surname_Edit), "Dine") Not getting in simple QML application
-
Hi,
I have developed QML application having two Inputbox and one button with mentioning the ids of each component.
When I recording and verifying with Squish tool I am not getting type(waitForObject(..), "") function/API in my script. I want to have text/caption of the button and input text of the both input box from my QML application.
The same thing i am getting by running the addressbook example exe with Squish tool as following.
startApplication("Addressbook")
mouseClick(waitForObjectItem(names.address_Book_Unnamed_Menubar, "File"))
mouseClick(waitForObjectItem(names.file_MenuItem, "New"))
mouseClick(waitForObject(names.add_ToolbarItem))
type(waitForObject(names.address_Book_Add_Forename_Edit), "sumit")
mouseClick(waitForObject(names.address_Book_Add_Surname_Edit), 42, 14, MouseButton.PrimaryButton)
type(waitForObject(names.address_Book_Add_Surname_Edit), "Dine")
mouseClick(waitForObject(names.address_Book_Add_Email_Edit), 37, 15, MouseButton.PrimaryButton)
type(waitForObject(names.address_Book_Add_Email_Edit), "djihf")
mouseClick(waitForObject(names.address_Book_Add_Phone_Edit), 29, 5, MouseButton.PrimaryButton)
type(waitForObject(names.address_Book_Add_Phone_Edit), "1233")
clickButton(waitForObject(names.address_Book_Add_OK_Button))What need to do further ? Is there anything require to add or missed either on Qt side or Squish side ?
Please help. -
Hi,
I have developed QML application having two Inputbox and one button with mentioning the ids of each component.
When I recording and verifying with Squish tool I am not getting type(waitForObject(..), "") function/API in my script. I want to have text/caption of the button and input text of the both input box from my QML application.
The same thing i am getting by running the addressbook example exe with Squish tool as following.
startApplication("Addressbook")
mouseClick(waitForObjectItem(names.address_Book_Unnamed_Menubar, "File"))
mouseClick(waitForObjectItem(names.file_MenuItem, "New"))
mouseClick(waitForObject(names.add_ToolbarItem))
type(waitForObject(names.address_Book_Add_Forename_Edit), "sumit")
mouseClick(waitForObject(names.address_Book_Add_Surname_Edit), 42, 14, MouseButton.PrimaryButton)
type(waitForObject(names.address_Book_Add_Surname_Edit), "Dine")
mouseClick(waitForObject(names.address_Book_Add_Email_Edit), 37, 15, MouseButton.PrimaryButton)
type(waitForObject(names.address_Book_Add_Email_Edit), "djihf")
mouseClick(waitForObject(names.address_Book_Add_Phone_Edit), 29, 5, MouseButton.PrimaryButton)
type(waitForObject(names.address_Book_Add_Phone_Edit), "1233")
clickButton(waitForObject(names.address_Book_Add_OK_Button))What need to do further ? Is there anything require to add or missed either on Qt side or Squish side ?
Please help.@IamSumit
can you reproduce the issue and share the Support Information logs.
Please refer to the following Knowledge Base Article regarding how to obtain the Support Information is
https://qatools.knowledgebase.qt.io/misc/collecting-support-info/collecting-support-information-linux-mac-windows/