Hallo zusammen,
für ein Skript muss ich mich von einer WebApp abmelden und bekomme einfach keinen Zugriff auf den Abmeldelink. Aus dem Grund löse ich es gerade durch stupide Tastatureingabe.
Mit meinen AutoIT Kenntnissen komme ich leider nicht weiter und würde euch ganz gern fragen, ob ihr mir helfen könnt.
Nach meinem Verständnis muss ich zu allererst in den iframe "CRMApplicationFrame" und dort nach dem Frame "HeaderFrame" suchen. Im Body des Frames liegt ein form namens "myformId" nach der ich suchen muss. In der form liegt eine tabelle "th-1-headercontainer" in der ich nach dem Text "Abmelden" suchen kann, oder?
Würde mich über Hilfe freuen.
Vielen Dank!
Leider liegt de WebApp intern...
HTML
<body>
<div id="crmUIHostArea">
<div id="crmUIHostFrameContainer">
<iframe name="CRMApplicationFrame" title="CRM UI Application" id="CRMApplicationFrame" src="/crm(ZT1SVTVFTWtWT1JGOWZYMTlmTUY5Zk1UVXlBRkJXc1NuaUh0V2dxLUZ5bXJhZ25nPT0=)/bc/bsp/crm/crm_ui_frame/main.htm?crm-client=011&crm-language=DE&crm-domainRelax=min&crmrole=service" frameborder="0" scrolling="no" style="display: block; visibility: visible;">
<html>
<frameset rows="42,*" border="0" framespacing="0">
<frame name="HeaderFrame" title="" id="HeaderFrame" src="/crm/bc/bsp/crm/crmcmp_hdr/bspwdapplication.do?crm-client=011&crm-language=DE&crm-domainRelax=min&crmrole=SERVICE" frameborder="0" marginwidth="0" marginheight="0" noresize="noresize" scrolling="no">
<html lang="de" xml:lang="de" style="height: 100%;" xmlns="http://www.w3.org/1999/xhtml">
<body>
<form name="myFormId" id="myFormId" action="https://crmw2pko1.spk.ag:466/crm(bD1kZSZjPTAxMSZkPW1pbg==)/bc/bsp/crm/crmcmp_hdr/bspwdapplication.do?crmrole=SERVICE" method="post">
<div id="htmlb_hidden_system_fields">
<div class="th-ajax-area" id="rootAreaDiv">
<div class="th-l-headercontainer">
<table class="th-l-headercontainer-logotext" id="th-l-headercontainer" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td class="th-l-headercommandcontainer-logotext">
<table class="th-l-commandcenter" style="height: 100%;" cellspacing="0" cellpadding="0">
<tbody>
<tr valign="top">
<td class="th-l-commandcentercell">
<td class="th-l-logoff">
<span class="testmode" id=":T_link:U_LOGOFF:I_LOGOFF">
<a class="th-l-logofflink" id="LOGOFF" onclick="if (confirm( 'Bei\x20Abmeldung\x20gehen\x20ungesicherte\x20Daten\x20verloren.\x20Um\x20sich\x20abzumelden,\x20w\xe4hlen\x20Sie\x20\x27OK\x27.\x20Um\x20fortzufahren,\x20w\xe4hlen\x20Sie\x20\x27Abbrechen\x27.')){crmuifClient.winMan.closeAll();crmuifClient.logOff();window.top.location.href='http://www.spk.com';}return false;" href="javascript:void(0)">
Text - Abmelden
Alles anzeigen