GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV (versões anteriores)
→
EmulateInput() does not recognize controls in a window from external component (WD24)
EmulateInput() does not recognize controls in a window from external component (WD24)
Iniciado por Jacek, abr., 07 2021 4:37 PM - 2 respostas
Conecte-se…
Jacek
#1
Membro registado
7 mensagems
Publicado em abril, 07 2021 - 4:37 PM
After spending several frustrating hours, I need a workaround for a simple automatic test like this:
Procedure
MyScenario
(
)
EmulateInput
(
WIN_RegVisitA_BOC.EDT_CargoCode
,
"{F5}"
)
//Scenario that will be run when opening
// the "cmp_wdWS50DictSQL.WIN_SelectCargo" window
ON
"cmp_wdWS50DictSQL.WIN_SelectCargo"
DO
EmulateInput
(
"cmp_wdWS50DictSQL.WIN_SelectCargo.TABL_Cargo"
,
"{DOWN}{DOWN}{ENTER}"
)
END
After it is run at the end of the last line with a call to EmulateInput() a No Entry icon is displayed with a tooltip: "EmulateInput function called. Error caused by 1 parameter. The 'cmp_wdWS50DictSQL.WIN_SelectCargo.TABL_Cargo' control is unknown."
- cmp_wdWS50DictSQL is the external component.
- WIN_SelectCargo is the window from this component.
- TABL_Cargo is the control from this window (the one not recognized)
I have checked the spelling, besides the script was "recorded" not entered by hand.
Any help, suggestions, how to make EmulateInput() recognize controls in external components ?
Or may be the Automatic Testing of Windows in WD is just a time wasting shitty trap for suckers like me.
Thanks in advance
/Jacek
Denunciar
0
0
Baldwin
#2
Membro registado
3 mensagems
Publicado em junho, 23 2022 - 12:42 PM
I spent well over an hour trying to get my controller (the 8BitDo N30 Pro 2) to be recognized in the game and finally found a solution.
Denunciar
0
0
Johnny JOHNNY REGAN
#3
Membro registado
3 mensagems
Publicado em julho, 05 2022 - 11:19 AM
Baldwin escribió:
> I spent well over an hour trying to get my controller (the 8BitDo N30 Pro 2) to be recognized in the game and finally found a solution.
https://www.mibridges.me/
I will endeavor to figure it out for extra.
Denunciar
0
0
→ Voltar para WINDEV (versões anteriores)
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto