repo.yourInputField.PressKeys("{LControlKey down}{Akey}{LControlKey up}{Back}");repo.yourInputField.PressKeys("YourText");if (repo.yourInputField.TextValue == null)if ((repo.yourInputField.TextValue == null) || (repo.yourInputField.TextValue == ""))StevenR wrote: Will there be better QT support in the future?
Ok, I will make one and post it here as soon as I am finished.
StevenR wrote:When fields are empty sometimes instead of having the empty string value "" it is set to null.
string text = textElement.TextValue ?? string.empty;
StevenR wrote:If the table has a scroll bar ranorex can only see the elements that are visible
If the table has a scroll bar ranorex cannot determine the actual number of elements in the table
StevenR wrote:Press and Focus methods do not work, have to work around by using the slower and less robust Click method
StevenR wrote:Tons of issues, the only way to reliably navigate them is to hard-code in PressKeys methods with the text of the desired option
StevenR wrote:Check and Uncheck methods do not work, have to use PressKeys("{Space}") or if that doesn't work, use the Click method again
StevenR wrote:Cannot focus or select tree items, have to use Click method
public void iterateItem()
{
var buttonOpen = repo.FormDialog.ButtonOpen;///form[@title='Dialog']/element[@class='QWidget' and @instance='5']/combobox/button[@accessiblename='Open']
buttonOpen.Click();
var list = repo.List;///form[@title='test']/element/element[@class='QWidget' and @instance='0']/list
///
foreach (ListItem item in list.FindChildren<ListItem>())
{
Report.Screenshot(item);
}
}Users browsing this forum: No registered users and 0 guests