اختبار التطبيق وإعداد المحاكي - كتاب هندسة البرمجيات - الصف 12 - الفصل 1 - المملكة العربية السعودية

الكتاب: كتاب هندسة البرمجيات - الصف 12 - الفصل 1 | المادة: هندسة البرمجيات | المرحلة: الصف 12 | الفصل الدراسي: 1

الدولة: المملكة العربية السعودية | المنهج: المنهج السعودي - وزارة التعليم

الدرس: اختبار التطبيق Testing the Application

📚 معلومات الصفحة

الكتاب: كتاب هندسة البرمجيات - الصف 12 - الفصل 1 | المادة: هندسة البرمجيات | المرحلة: الصف 12 | الفصل الدراسي: 1

الدولة: المملكة العربية السعودية | المنهج: المنهج السعودي - وزارة التعليم

نوع المحتوى: درس تعليمي

مستوى الصعوبة: مبتدئ

📝 ملخص الصفحة

تتناول هذه الصفحة موضوع اختبار التطبيقات في سياق تطوير البرمجيات باستخدام مختبر التطبيقات MIT، حيث تشرح أهمية الاختبار المتكرر لاكتشاف الأخطاء البرمجية وتصحيحها قبل نشر التطبيق. تقدم الصفحة طريقتين رئيسيتين للاختبار: الأولى من خلال محاكي الأندرويد (Android Emulator) الذي يحاكي جهاز الهاتف المحمول على الحاسب، والثانية باستخدام تطبيق MIT AI2 Companion على الهاتف الفعلي مع مسح رمز الاستجابة السريعة (QR).

يتم تفصيل إعداد محاكي الأندرويد عبر تثبيت برنامج MIT App Inventor 2 على أنظمة Windows، مع توفير خطوات عملية مثل تنزيل المثبت من موقع ويب محدد واتباع التعليمات الموضحة. تشمل الصفحة أيضًا شكلًا توضيحيًا (شكل 3.14) يصور عملية التثبيت، مما يدعم الفهم البصري للمستخدمين.

تهدف هذه المحتويات إلى تمكين المطورين من اختبار تطبيقاتهم بكفاءة، مع التركيز على الأدوات المجانية والمتاحة مثل MIT App Inventor، مما يجعلها مناسبة للمبتدئين في برمجة التطبيقات.

📄 النص الكامل للصفحة

--- SECTION: اختبار التطبيق Testing the Application --- اختبار التطبيق Testing the Application ستحتاج في مراحل مختلفة من عملية تطوير التطبيق إلى اختباره للتأكد من جاهزية جميع وظائفه، ويساعد الاختبار المتكرر أثناء التطوير في اكتشاف الأخطاء المحتملة في البرمجة، ويتيح تصحيحها قبل نشر التطبيق وعرضه. يمكنك اختبار التطبيق في مختبر التطبيقات MIT بطريقتين مختلفتين، تعتمد الأولى منهما على الاختبار من خلال المحاكي (Emulator) وهو برنامج تقوم بتثبيته على حاسبك ليحاكي جهاز الهاتف المحمول. أما الطريقة الثانية فهي باستخدام MIT AI2 Companion، وهو تطبيق تقوم بتثبيته على هاتفك المحمول فعليًا، وبعد تثبيت التطبيق يمكنك الدخول إلى موقع مختبر التطبيقات الإلكتروني ومسح رمز الاستجابة السريعة (QR) الخاص بتطبيقك باستخدام تطبيق MIT AI2 Companion، والذي بدوره سيُحمّل التطبيق الذي أنشأته على المتصفح الموجود على هاتفك. يمكنك تثبيت تطبيق MIT AI2 Companion من الرابط التالي: https://play.google.com/store/apps/details?id=edu.mit.appinventor.aicompanion3&pli=1 --- SECTION: إعداد محاكي الأندرويد Setting up the Android Emulator --- إعداد محاكي الأندرويد Setting up the Android Emulator ستقوم الآن بتثبيت محاكي الأندرويد (Android Emulator) لتشغيل تطبيق الهاتف المحمول على حاسبك. --- SECTION: لإعداد تطبيق محاكي الأندرويد (Android Emulator) : --- لإعداد تطبيق محاكي الأندرويد (Android Emulator) : ١. انتقل إلى موقع الويب التالي: https://appinventor.mit.edu/explore/ai2/windows ٢. اضغط على رابط Download the installer (تنزيل المثبت) لتنزيل ملف المثبت بامتداد "exe.". ٣. بعد تنزيل المثبت اتبع الخطوات الموضحة في صفحة الويب. --- SECTION: شكل 3.14: تثبيت تطبيق محاكي الأندرويد (Android Emulator) --- شكل 3.14: تثبيت تطبيق محاكي الأندرويد (Android Emulator) وزارة التعليم Ministry of Education 2025 - 1447 130 --- VISUAL CONTEXT --- **FIGURE**: شكل 3.14: تثبيت تطبيق محاكي الأندرويد (Android Emulator) Description: A screenshot of the MIT App Inventor website, specifically the 'Installing App Inventor 2 Setup on Windows' page. The page provides instructions for setting up the software. Key elements include the MIT App Inventor logo, navigation links (About, Educators, News, Resources, Blogs, Donate), and detailed steps for installation. The screenshot shows a section titled 'Installing the App Inventor Setup software package' with numbered instructions (1-5) and a dialog box asking 'Do you want to allow this app to make changes to your device?' with 'MIT App Inventor Tools' as the publisher. The bottom of the screenshot shows 'Locating the Setup software' with a path 'C:\Program Files\App Inventor'. Blue numbered circles (1, 2, 3) are overlaid on the screenshot, pointing to different sections of the installation process. X-axis: N/A Y-axis: N/A Data: N/A Key Values: MIT APP INVENTOR, Create Apps!, About Educators News Resources Blogs Donate, Installing App Inventor 2 Setup on Windows, Installing the Windows software for App Inventor Setup has two parts:, • Installing the App Inventor Setup software package. This step is the same for all Android devices, and the same for Windows XP, Vista, Windows 7, 8.1, and 10., • If you choose to use the USB cable to connect to a device, then you'll need to install Windows drivers for your Android phone., NOTE: App Inventor 2 does not work with Internet Explorer. For Windows users, we recommend using either Chrome or Firefox as your browser for use with App Inventor., Note: These instructions are for the new Emulator package that requires 64-bit Windows. You can find the older version Here., Installing the App Inventor Setup software package, You must perform the installation from an account that has administrator privileges. Installing via a non-administrator account is currently not supported., Note: You will need to be logged in as an Administrator to complete the steps below., 1. Download the installer, 2. Locate the file MIT_App_Inventor_Tools_2.65.0_win_setup.exe (~1.5 GB) in your Downloads file or your Desktop. The location of the download on your computer depends on how your browser is configured., 3. Open the file., 4. Click through the steps of the installer. Do not change the installation directory, but record the installation directory, because you might need it to check drivers later., 5. You will likely get a dialog box from the User Account Manager asking if you wish to make changes to your device. It should say that the software is signed by the Massachusetts Institute of Technology. Click Yes., Do you want to allow this app to make changes to your device?, MIT App Inventor Tools, Verified publisher: Massachusetts Institute of Technology, File origin: Hard drive on this computer, No Yes, Locating the Setup software, In most cases, App Inventor should be able to locate the Setup software on its own. But if it asks for the location of the software, the path to enter is C:\Program Files\App Inventor. Context: This figure visually guides the user through the process of installing the MIT App Inventor 2 Setup on a Windows computer, which is necessary for setting up the Android Emulator as described in the accompanying text. It illustrates the steps for downloading the installer and the subsequent installation prompts.

🎴 بطاقات تعليمية للمراجعة

عدد البطاقات: 3 بطاقة لهذه الصفحة

ما هو الغرض من اختبار التطبيق أثناء عملية التطوير؟

الإجابة: التأكد من جاهزية جميع وظائفه، واكتشاف الأخطاء المحتملة في البرمجة وتصحيحها قبل نشر التطبيق وعرضه.

الشرح: الاختبار المبكر والمتكرر يقلل من الأخطاء النهائية ويحسن جودة التطبيق قبل وصوله للمستخدم النهائي.

تلميح: فكر في الفائدة من اكتشاف المشكلات مبكراً.

التصنيف: مفهوم جوهري | المستوى: سهل

ما هي الطريقتان المختلفتان لاختبار التطبيق في مختبر التطبيقات MIT؟

الإجابة: الطريقة الأولى: الاختبار من خلال المحاكي (Emulator) على الحاسب. الطريقة الثانية: باستخدام تطبيق MIT AI2 Companion على الهاتف المحمول فعلياً.

الشرح: توفر MIT خيارين مرنين للاختبار: محاكاة على الحاسب أو اختبار مباشر على جهاز حقيقي عبر تطبيق مرافق.

تلميح: تتعلق إحدى الطريقتين ببرنامج على الحاسب، والأخرى بتطبيق على جهاز حقيقي.

التصنيف: فرق بين مفهومين | المستوى: متوسط

ما هي خطوات إعداد محاكي الأندرويد (Android Emulator) كما وردت في النص؟

الإجابة: ١. الانتقال إلى موقع الويب المحدد. ٢. الضغط على رابط تنزيل المثبت. ٣. تنزيل ملف المثبت بامتداد exe. ٤. اتباع الخطوات الموضحة في صفحة الويب بعد التنزيل.

الشرح: تسرد هذه الخطوات العملية الأساسية للحصول على برنامج المحاكي وتثبيته على نظام Windows.

تلميح: ركز على التسلسل المنطقي: اذهب للموقع، ثم نزّل، ثم نفّذ.

التصنيف: صيغة/خطوات | المستوى: متوسط